]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
fpga2 bug fix
authorhadaq <hadaq>
Thu, 5 Aug 2010 14:08:19 +0000 (14:08 +0000)
committerhadaq <hadaq>
Thu, 5 Aug 2010 14:08:19 +0000 (14:08 +0000)
libtrbnet/trbflash.c

index dd2e4dabf47408a313d9fcad62dbb64b0d7faa80..40a8465ab8395d5db59781ae2960ab318539c61d 100644 (file)
@@ -97,7 +97,7 @@ static const char FlashTypeStr[16][32] =
 
 static FlashType flashType = FLASH_INVALID; 
 static uint32_t manId = 0;
-static const char trbflash_version[] = "$Revision: 2.23 $"; 
+static const char trbflash_version[] = "$Revision: 2.24 $"; 
 
 static uint32_t mdcFlashSelect = 1;
 
@@ -383,7 +383,7 @@ static int initTransfer(uint16_t trb_address)
       fType = FLASH_CTS_FPGA1;
       break;
     case 5200:
-      fType = FLASH_CTS_FPGA1;
+      fType = FLASH_CTS_FPGA2;
       break;
 
     default: