diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/screen_access.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c index e47a815b82..834ece3cb8 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c | |||
@@ -77,23 +77,17 @@ void screen_helper_setfont(int font) | |||
77 | #endif | 77 | #endif |
78 | } | 78 | } |
79 | 79 | ||
80 | #ifdef HAVE_LCD_BITMAP | ||
80 | static int screen_helper_getuifont(void) | 81 | static int screen_helper_getuifont(void) |
81 | { | 82 | { |
82 | #ifdef HAVE_LCD_BITMAP | ||
83 | return global_status.font_id[SCREEN_MAIN]; | 83 | return global_status.font_id[SCREEN_MAIN]; |
84 | #else | ||
85 | return -1; | ||
86 | #endif | ||
87 | } | 84 | } |
88 | 85 | ||
89 | static void screen_helper_setuifont(int font) | 86 | static void screen_helper_setuifont(int font) |
90 | { | 87 | { |
91 | #ifdef HAVE_LCD_BITMAP | ||
92 | global_status.font_id[SCREEN_MAIN] = font; | 88 | global_status.font_id[SCREEN_MAIN] = font; |
93 | #else | ||
94 | (void)font; | ||
95 | #endif | ||
96 | } | 89 | } |
90 | #endif | ||
97 | 91 | ||
98 | #if NB_SCREENS == 2 | 92 | #if NB_SCREENS == 2 |
99 | static int screen_helper_remote_getcharwidth(void) | 93 | static int screen_helper_remote_getcharwidth(void) |