From 2c9e3d6d3de5bd12d93bc997945c9f1587b75b33 Mon Sep 17 00:00:00 2001 From: db4ple Date: Sat, 6 Nov 2021 10:09:47 +0100 Subject: [PATCH] Fix for FT817 / Hamlib issue There was a copy and paste error in the previous code change, fixed now. --- mchf-eclipse/drivers/cat/cat_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mchf-eclipse/drivers/cat/cat_driver.c b/mchf-eclipse/drivers/cat/cat_driver.c index 5abeec0fa..ae9b37dff 100644 --- a/mchf-eclipse/drivers/cat/cat_driver.c +++ b/mchf-eclipse/drivers/cat/cat_driver.c @@ -653,7 +653,7 @@ static const ft817_eeprom_emul_t ft817_eeprom[] = { .type = FT817EE_DATA, .start = 0, .end = 3, .content.value = 0 }, // checksum { .type = FT817EE_DATA, .start = 4, .end = 4, .content.value = 0xD8 }, // radio config { .type = FT817EE_DATA, .start = 5, .end = 5, .content.value = 0xBF }, // radio config - { .type = FT817EE_FUNC, .start = 0x54, .end = 0x54, .content.value = 0xFF }, // this is just to make HAMLIB happy when reading 0x55 by requesting 0x54 + { .type = FT817EE_DATA, .start = 0x54, .end = 0x54, .content.value = 0xFF }, // this is just to make HAMLIB happy when reading 0x55 by requesting 0x54 // (and ignoring this value). This might break things if an application really wants to read a useful value from 0x54 { .type = FT817EE_FUNC, .start = 0x55, .end = 0x55, .content.funcPtr = CatDriver_Ft817_EEPROM_RW_Func }, // VOX Delay and other stuff, fixed value, required by WSJT-X