Fixed a bug when loading SList parameter, if ALL had been saved

This commit is contained in:
Armel FAUVEAU
2024-07-25 17:01:59 +02:00
parent a245f21f06
commit ec2c470a90

View File

@@ -225,7 +225,7 @@ void SETTINGS_InitEEPROM(void)
// 0F18..0F1F
EEPROM_ReadBuffer(0x0F18, Data, 8);
gEeprom.SCAN_LIST_DEFAULT = (Data[0] < 5) ? Data[0] : 0; // we now have 'all' channel scan option
gEeprom.SCAN_LIST_DEFAULT = (Data[0] < 6) ? Data[0] : 0; // we now have 'all' channel scan option
// Fake data
/*