Add correction off warning

pull/34/head
erikkaashoek 4 years ago
parent 3399691bbf
commit 8b7071f850

@ -2043,7 +2043,7 @@ pureRSSI_t get_frequency_correction(freq_t f) // Frequency dependent RSSI c
int c=CORRECTION_LOW; int c=CORRECTION_LOW;
if (setting.mode == M_GENHIGH) { if (setting.mode == M_GENHIGH) {
c = CORRECTION_HIGH; c = CORRECTION_HIGH;
return(0.0); return float_TO_PURE_RSSI(0.0);
} }
#ifdef TINYSA4 #ifdef TINYSA4
if (setting.mode == M_LOW) { if (setting.mode == M_LOW) {

@ -3961,6 +3961,12 @@ redraw_cal_status:
y = add_quick_menu(y += YSTEP, (menuitem_t *)menu_config); y = add_quick_menu(y += YSTEP, (menuitem_t *)menu_config);
} }
if (setting.disable_correction){
ili9341_set_foreground(LCD_BRIGHT_COLOR_GREEN);
lcd_printf(x, y, "Corr:\nOFF");
y += 2*YSTEP;
}
#endif #endif
// Cal output // Cal output
if (setting.refer >= 0) { if (setting.refer >= 0) {

Loading…
Cancel
Save

Powered by TurnKey Linux.