Default switch offset and spur quick menu repaired

multi_trace
erikkaashoek 5 years ago
parent ffc07b81d9
commit 3c00d5df25

@ -2139,6 +2139,7 @@ int main(void)
#ifdef TINYSA3
has_esd = ((palReadPort(GPIOB) & (1<<12)) ? false : true );
#endif
@ -2202,6 +2203,10 @@ int main(void)
#endif
/* restore config */
#ifdef TINYSA3
if (has_esd)
config.switch_offset = -5.0;
#endif
config_recall();
config.cor_am = 0; // Should be removed from config
config.cor_nfm = 0;

@ -3371,7 +3371,7 @@ redraw_cal_status:
if (setting.spur_removal != S_OFF) {
ili9341_set_foreground(setting.spur_removal == S_ON ? LCD_BRIGHT_COLOR_GREEN : LCD_FG_COLOR);
lcd_printf(x, y, "Spur:\n%s", S_IS_AUTO(setting.spur_removal) ? "AUTO" : "ON");
y = add_quick_menu(y += YSTEP, (menuitem_t *)menu_stimulus);
y = add_quick_menu(y += YSTEP, (menuitem_t *)menu_config);
}
if (setting.mirror_masking) {
ili9341_set_foreground(LCD_BRIGHT_COLOR_GREEN);

Loading…
Cancel
Save

Powered by TurnKey Linux.