From 1eb39498c34f2cc38c374e515c5fc028c7467770 Mon Sep 17 00:00:00 2001 From: hadaq Date: Thu, 5 Aug 2010 14:11:03 +0000 Subject: [PATCH] fpga2 bug fix 2 --- libtrbnet/trbflash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libtrbnet/trbflash.c b/libtrbnet/trbflash.c index 40a8465..a9d6876 100644 --- a/libtrbnet/trbflash.c +++ b/libtrbnet/trbflash.c @@ -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; -- 2.43.0