summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 0cbe5344fb..83f2452613 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -81,7 +81,7 @@ void dac_line_in(bool enable);
81#include "dsp.h" 81#include "dsp.h"
82#endif 82#endif
83 83
84#ifdef HAVE_LCD_COLOR 84#if LCD_DEPTH > 1
85#include "backdrop.h" 85#include "backdrop.h"
86#endif 86#endif
87 87
@@ -393,7 +393,7 @@ static bool invert_cursor(void)
393 return rc; 393 return rc;
394} 394}
395 395
396#ifdef HAVE_LCD_COLOR 396#if LCD_DEPTH > 1
397/** 397/**
398 * Menu to clear the backdrop image 398 * Menu to clear the backdrop image
399 */ 399 */
@@ -404,7 +404,9 @@ static bool clear_main_backdrop(void)
404 show_main_backdrop(); 404 show_main_backdrop();
405 return false; 405 return false;
406} 406}
407#endif
407 408
409#ifdef HAVE_LCD_COLOR
408/** 410/**
409 * Menu for fore/back colors 411 * Menu for fore/back colors
410 */ 412 */
@@ -1969,8 +1971,10 @@ static bool lcd_settings_menu(void)
1969#endif 1971#endif
1970 { ID2P(LANG_INVERT_CURSOR), invert_cursor }, 1972 { ID2P(LANG_INVERT_CURSOR), invert_cursor },
1971#endif 1973#endif
1972#ifdef HAVE_LCD_COLOR 1974#if LCD_DEPTH > 1
1973 { ID2P(LANG_CLEAR_BACKDROP), clear_main_backdrop }, 1975 { ID2P(LANG_CLEAR_BACKDROP), clear_main_backdrop },
1976#endif
1977#ifdef HAVE_LCD_COLOR
1974 { ID2P(LANG_BACKGROUND_COLOR), set_bg_color }, 1978 { ID2P(LANG_BACKGROUND_COLOR), set_bg_color },
1975 { ID2P(LANG_FOREGROUND_COLOR), set_fg_color }, 1979 { ID2P(LANG_FOREGROUND_COLOR), set_fg_color },
1976 { ID2P(LANG_RESET_COLORS), reset_color }, 1980 { ID2P(LANG_RESET_COLORS), reset_color },