diff options
Diffstat (limited to 'apps/gui/skin_engine/skin_display.c')
-rw-r--r-- | apps/gui/skin_engine/skin_display.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c index 16b2dc1213..7710d58cea 100644 --- a/apps/gui/skin_engine/skin_display.c +++ b/apps/gui/skin_engine/skin_display.c | |||
@@ -58,8 +58,10 @@ | |||
58 | #endif | 58 | #endif |
59 | #include "backdrop.h" | 59 | #include "backdrop.h" |
60 | #include "viewport.h" | 60 | #include "viewport.h" |
61 | #if CONFIG_TUNER | ||
61 | #include "radio.h" | 62 | #include "radio.h" |
62 | #include "tuner.h" | 63 | #include "tuner.h" |
64 | #endif | ||
63 | #include "root_menu.h" | 65 | #include "root_menu.h" |
64 | 66 | ||
65 | 67 | ||
@@ -1349,6 +1351,7 @@ static bool skin_redraw(struct gui_wps *gwps, unsigned refresh_mode) | |||
1349 | bool skin_has_sbs(enum screen_type screen, struct wps_data *data) | 1351 | bool skin_has_sbs(enum screen_type screen, struct wps_data *data) |
1350 | { | 1352 | { |
1351 | (void)screen; | 1353 | (void)screen; |
1354 | (void)data; | ||
1352 | bool draw = false; | 1355 | bool draw = false; |
1353 | #ifdef HAVE_LCD_BITMAP | 1356 | #ifdef HAVE_LCD_BITMAP |
1354 | if (data->wps_sb_tag) | 1357 | if (data->wps_sb_tag) |
@@ -1365,9 +1368,10 @@ bool skin_has_sbs(enum screen_type screen, struct wps_data *data) | |||
1365 | */ | 1368 | */ |
1366 | int skin_wait_for_action(struct gui_wps *gwps, int context, int timeout) | 1369 | int skin_wait_for_action(struct gui_wps *gwps, int context, int timeout) |
1367 | { | 1370 | { |
1371 | (void)gwps; /* silence charcell warning */ | ||
1372 | int button = ACTION_NONE; | ||
1368 | #ifdef HAVE_LCD_BITMAP | 1373 | #ifdef HAVE_LCD_BITMAP |
1369 | int i; | 1374 | int i; |
1370 | int button = ACTION_NONE; | ||
1371 | /* when the peak meter is enabled we want to have a | 1375 | /* when the peak meter is enabled we want to have a |
1372 | few extra updates to make it look smooth. On the | 1376 | few extra updates to make it look smooth. On the |
1373 | other hand we don't want to waste energy if it | 1377 | other hand we don't want to waste energy if it |