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

index 40a8465ab8395d5db59781ae2960ab318539c61d..a9d687663e542028cfbe05b366fbe8313c3fc516 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.24 $"; 
+static const char trbflash_version[] = "$Revision: 2.25 $"; 
 
 static uint32_t mdcFlashSelect = 1;
 
@@ -379,10 +379,10 @@ static int initTransfer(uint16_t trb_address)
       break;
       
       /* CTS */
-    case 5100:
+    case 0x5100:
       fType = FLASH_CTS_FPGA1;
       break;
-    case 5200:
+    case 0x5200:
       fType = FLASH_CTS_FPGA2;
       break;