Trace colors repaired

master
erikkaashoek 5 years ago
parent 0e9d3b3f30
commit 352e80b965

@ -622,9 +622,9 @@ extern volatile uint8_t redraw_request;
[LCD_MENU_COLOR ] = RGB565(230,230,230), \ [LCD_MENU_COLOR ] = RGB565(230,230,230), \
[LCD_MENU_TEXT_COLOR ] = RGB565( 0, 0, 0), \ [LCD_MENU_TEXT_COLOR ] = RGB565( 0, 0, 0), \
[LCD_MENU_ACTIVE_COLOR] = RGB565(210,210,210), \ [LCD_MENU_ACTIVE_COLOR] = RGB565(210,210,210), \
[LCD_TRACE_1_COLOR ] = RGB565(255,255, 0), \ [LCD_TRACE_1_COLOR ] = RGB565(255, 0, 0), \
[LCD_TRACE_2_COLOR ] = RGB565( 0,255,255), \ [LCD_TRACE_2_COLOR ] = RGB565( 0,255, 0), \
[LCD_TRACE_3_COLOR ] = RGB565( 0,255, 0), \ [LCD_TRACE_3_COLOR ] = RGB565(255,255, 0), \
[LCD_TRACE_4_COLOR ] = RGB565(255, 0,255), \ [LCD_TRACE_4_COLOR ] = RGB565(255, 0,255), \
[LCD_NORMAL_BAT_COLOR ] = RGB565( 31,227, 0), \ [LCD_NORMAL_BAT_COLOR ] = RGB565( 31,227, 0), \
[LCD_LOW_BAT_COLOR ] = RGB565(255, 0, 0), \ [LCD_LOW_BAT_COLOR ] = RGB565(255, 0, 0), \

@ -2488,7 +2488,8 @@ disable_waterfall(void)
graph_bottom = NO_WATERFALL; graph_bottom = NO_WATERFALL;
waterfall = W_OFF; waterfall = W_OFF;
_grid_y = graph_bottom / NGRIDY; _grid_y = graph_bottom / NGRIDY;
ili9341_fill(OFFSETX, graph_bottom, LCD_WIDTH - OFFSETX, CHART_BOTTOM - graph_bottom, 0); ili9341_set_background(LCD_BG_COLOR);
ili9341_fill(OFFSETX, graph_bottom, LCD_WIDTH - OFFSETX, CHART_BOTTOM - graph_bottom);
request_to_redraw_grid(); request_to_redraw_grid();
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.