SHow ultra in status

SI443_RBW_update
erikkaashoek 4 years ago
parent 272d1fcc24
commit a68b31c58a

@ -5757,6 +5757,7 @@ int validate_atten(int i) {
// float a = ((float)j)/2.0; // float a = ((float)j)/2.0;
float a = atten_step[j]; float a = atten_step[j];
set_attenuation(a); set_attenuation(a);
setting.repeat = 10;
test_acquire(TEST_LEVEL); // Acquire test, does also the averaging. test_acquire(TEST_LEVEL); // Acquire test, does also the averaging.
test_validate(TEST_LEVEL); // Validate test, does nothing actually test_validate(TEST_LEVEL); // Validate test, does nothing actually
if (j == 0) if (j == 0)

@ -3896,6 +3896,13 @@ redraw_cal_status:
y = add_quick_menu(y, (menuitem_t *)menu_level); y = add_quick_menu(y, (menuitem_t *)menu_level);
y += YSTEP; y += YSTEP;
} }
if (config.ultra_start != ULTRA_AUTO){
ili9341_set_foreground(LCD_BRIGHT_COLOR_GREEN);
lcd_printf(x, y, "Ultra:\n%3QHz", ultra_start);
y = add_quick_menu(y += YSTEP, (menuitem_t *)menu_config);
}
#endif #endif
// Cal output // Cal output
if (setting.refer >= 0) { if (setting.refer >= 0) {

Loading…
Cancel
Save

Powered by TurnKey Linux.