Fix #366: Scan list 2 ignored everywhere

This commit is contained in:
Krzysiek Egzmont
2024-01-01 20:50:21 +01:00
parent ac8c51d605
commit ed5ae7842b
3 changed files with 11 additions and 20 deletions

View File

@@ -218,8 +218,7 @@ void SETTINGS_InitEEPROM(void)
// 0F18..0F1F
EEPROM_ReadBuffer(0x0F18, Data, 8);
// gEeprom.SCAN_LIST_DEFAULT = (Data[0] < 2) ? Data[0] : false;
gEeprom.SCAN_LIST_DEFAULT = (Data[0] < 3) ? Data[0] : false; // we now have 'all' channel scan option
gEeprom.SCAN_LIST_DEFAULT = (Data[0] < 3) ? Data[0] : 0; // we now have 'all' channel scan option
for (unsigned int i = 0; i < 2; i++)
{
const unsigned int j = 1 + (i * 3);