Repaired test status and marker colors

Removed_REF_marker
erikkaashoek 5 years ago
parent a46a56aed5
commit 12a96bba04

@ -92,8 +92,10 @@ uint16_t marker_color(int mtype)
{
if (mtype & M_REFERENCE)
return LCD_M_REFERENCE;
if (mtype & M_DELTA)
if (mtype & M_STORED)
return LCD_M_DELTA;
// if (mtype & M_DELTA)
// return LCD_BRIGHT_COLOR_RED;
if (mtype & M_NOISE)
return LCD_M_NOISE;
return LCD_M_DEFAULT;

@ -4413,7 +4413,8 @@ int test_validate(int i)
test_status[i] = current_test_status; // Must be set before draw_all() !!!!!!!!
// draw_frequencies();
// draw_cal_status();
redraw_request |= REDRAW_CAL_STATUS;
// redraw_request |= REDRAW_CAL_STATUS;
redraw_request |= REDRAW_AREA | REDRAW_CAL_STATUS;
draw_all(TRUE);
return current_test_status;
}
@ -4629,8 +4630,9 @@ void self_test(int test)
if (no_wait) {
goto quit;
}
// draw_all(TRUE);
ili9341_set_foreground(LCD_BRIGHT_COLOR_GREEN);
ili9341_drawstring_7x13("Self test complete", 50, 200);
ili9341_drawstring_7x13("Self test complete", 50, 202);
ili9341_drawstring_7x13("Touch screen to continue", 50, 215);
resume2:
test_wait = true;

Loading…
Cancel
Save

Powered by TurnKey Linux.