Config: clear the 1 kHz tone option read from an old sd_icon_save byte

copilot/add-multi-platform-rf-scan-exports
erikkaashoek 1 week ago
parent 92a66c503c
commit 8bfdcda5ce

@ -127,6 +127,10 @@ config_recall(void)
if (config.sd_icon_save == 0)
config.sd_icon_save = SDIS_DEFAULT;
#endif // __USE_SD_CARD__
#ifdef TINYSA4
if (config.wfm_1khz_harmonic > 100) // v1.4-220 placed it on the old sd_icon_save byte (always >= 0x80)
config.wfm_1khz_harmonic = 0;
#endif
return 0;
}

Loading…
Cancel
Save

Powered by TurnKey Linux.