From 683b689d41e7fee129255150800f1a6fe53453bb Mon Sep 17 00:00:00 2001 From: Manuel Reyes Date: Thu, 7 Nov 2024 13:54:26 +0100 Subject: [PATCH] Fixes the compatibility of trbflash with the dirich concentrators. Restored the original manufacturer ID of the flash on the dirich concetrator in the assignment of the flash parameters, and added the ID of the flash on the farich concentrator as a compatible flash manufacturer ID. Manuel Reyes --- libtrbnet/trbflash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtrbnet/trbflash.c b/libtrbnet/trbflash.c index cdef3f4..caa0ce6 100644 --- a/libtrbnet/trbflash.c +++ b/libtrbnet/trbflash.c @@ -378,8 +378,8 @@ static int setFlashParam(FlashParam* flashParam, uint16_t hardwareId) case 0x9700: flashParam->flashType = FLASH_DIRICH_CONCENTRATOR; - //flashParam->manId = 0x1720c2; - flashParam->manId = 0x1728c2; + flashParam->manId = 0x1720c2; // manufacturer Id of flash on Dirich concentrator + flashParam->compatibleManId[0] = 0x1728c2; // manufacturer Id of flash on Farich concentrator strcpy(flashParam->allowedStringId[0], "dirich_co"); strcpy(flashParam->allowedStringId[1], "combiner"); flashParam->numPages = 32768; -- 2.43.0