3 small bugs soled

Cal output remains on after level cal and factory reset and update of correction takes up to 10 seconds to be visible
pull/4/head
erikkaashoek 6 years ago
parent 326ec09f0f
commit 4c48dade8c

@ -273,8 +273,6 @@ usage:
VNA_SHELL_FUNCTION(cmd_v)
{
if (argc != 1) {
shell_printf("%d\r\n", SI4432_Sel);
@ -537,6 +535,7 @@ VNA_SHELL_FUNCTION(cmd_correction)
float v = my_atof(argv[2]);
config.correction_frequency[i] = f;
config.correction_value[i] = v;
redraw_request|=REDRAW_AREA; // to ensure the change in level will be visible
shell_printf("updated %d to %d %.1f\r\n", i, config.correction_frequency[i], config.correction_value[i]);
}

@ -3250,7 +3250,7 @@ quit:
in_selftest = false;
sweep_mode = SWEEP_ENABLE;
set_refer_output(0);
set_refer_output(-1);
reset_settings(M_LOW);
#endif
}

@ -571,6 +571,7 @@ static UI_FUNCTION_CALLBACK(menu_store_preset_cb)
(void)item;
if (data == 100) {
reset_settings(M_LOW); // Restore all defaults in Low mode
set_refer_output(-1);
// setting.mode = -1;
data = 0;
}

Loading…
Cancel
Save

Powered by TurnKey Linux.