diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/screens.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c index 1d11fdbb5e..d378ed3759 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -910,14 +910,16 @@ void splash(int ticks, /* how long the splash is displayed */ | |||
910 | sleep(ticks); | 910 | sleep(ticks); |
911 | } | 911 | } |
912 | 912 | ||
913 | #ifdef HAVE_CHARGING | ||
913 | void charging_splash(void) | 914 | void charging_splash(void) |
914 | { | 915 | { |
915 | splash(2*HZ, true, str(LANG_BATTERY_CHARGE)); | 916 | splash(2*HZ, true, str(LANG_BATTERY_CHARGE)); |
916 | button_clear_queue(); | 917 | button_clear_queue(); |
917 | } | 918 | } |
919 | #endif | ||
918 | 920 | ||
919 | 921 | ||
920 | #ifdef HAVE_LCD_BITMAP | 922 | #if defined(HAVE_LCD_BITMAP) && defined (HAVE_RTC) |
921 | 923 | ||
922 | /* little helper function for voice output */ | 924 | /* little helper function for voice output */ |
923 | static void say_time(int cursorpos, const struct tm *tm) | 925 | static void say_time(int cursorpos, const struct tm *tm) |
@@ -1212,7 +1214,7 @@ bool set_time_screen(const char* string, struct tm *tm) | |||
1212 | 1214 | ||
1213 | return false; | 1215 | return false; |
1214 | } | 1216 | } |
1215 | #endif | 1217 | #endif /* defined(HAVE_LCD_BITMAP) && defined (HAVE_RTC) */ |
1216 | 1218 | ||
1217 | #if CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == IRIVER_H100_PAD | 1219 | #if CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == IRIVER_H100_PAD |
1218 | bool shutdown_screen(void) | 1220 | bool shutdown_screen(void) |