diff --git a/nanovna.h b/nanovna.h index 2ccf98e..2b12ef8 100644 --- a/nanovna.h +++ b/nanovna.h @@ -622,9 +622,9 @@ extern volatile uint8_t redraw_request; [LCD_MENU_COLOR ] = RGB565(230,230,230), \ [LCD_MENU_TEXT_COLOR ] = RGB565( 0, 0, 0), \ [LCD_MENU_ACTIVE_COLOR] = RGB565(210,210,210), \ -[LCD_TRACE_1_COLOR ] = RGB565(255,255, 0), \ -[LCD_TRACE_2_COLOR ] = RGB565( 0,255,255), \ -[LCD_TRACE_3_COLOR ] = RGB565( 0,255, 0), \ +[LCD_TRACE_1_COLOR ] = RGB565(255, 0, 0), \ +[LCD_TRACE_2_COLOR ] = RGB565( 0,255, 0), \ +[LCD_TRACE_3_COLOR ] = RGB565(255,255, 0), \ [LCD_TRACE_4_COLOR ] = RGB565(255, 0,255), \ [LCD_NORMAL_BAT_COLOR ] = RGB565( 31,227, 0), \ [LCD_LOW_BAT_COLOR ] = RGB565(255, 0, 0), \ diff --git a/plot.c b/plot.c index 6497c2b..3b412a1 100644 --- a/plot.c +++ b/plot.c @@ -2488,7 +2488,8 @@ disable_waterfall(void) graph_bottom = NO_WATERFALL; waterfall = W_OFF; _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(); }