selftest from console mode working again

pull/4/head
erikkaashoek 6 years ago
parent 01c4f31bb6
commit 79e1c4ebda

@ -166,7 +166,8 @@ static THD_FUNCTION(Thread1, arg)
continue; continue;
} }
// Process UI inputs // Process UI inputs
ui_process(); if (!(sweep_mode & SWEEP_SELFTEST))
ui_process();
// Process collected data, calculate trace coordinates and plot only if scan // Process collected data, calculate trace coordinates and plot only if scan
// completed // completed
if (/* sweep_mode & SWEEP_ENABLE && */ completed) { if (/* sweep_mode & SWEEP_ENABLE && */ completed) {

@ -2551,7 +2551,7 @@ void self_test(int test)
{ {
if (test == 0) { if (test == 0) {
if (test_wait ) { if (test_wait ) {
if (test_case[test_step].kind == TC_END) if (test_case[test_step].kind == TC_END || setting.test_argument != 0)
goto resume2; goto resume2;
else else
goto resume; goto resume;

Loading…
Cancel
Save

Powered by TurnKey Linux.