1
0
Fork 0
forked from len0rd/rockbox

Ondio: Disabled unused code for time setting and charging splash, saving almost 2 KB binary size.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6412 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-05-07 01:30:16 +00:00
parent b4861738c9
commit cd0bb1cbec

View file

@ -910,14 +910,16 @@ void splash(int ticks, /* how long the splash is displayed */
sleep(ticks);
}
#ifdef HAVE_CHARGING
void charging_splash(void)
{
splash(2*HZ, true, str(LANG_BATTERY_CHARGE));
button_clear_queue();
}
#endif
#ifdef HAVE_LCD_BITMAP
#if defined(HAVE_LCD_BITMAP) && defined (HAVE_RTC)
/* little helper function for voice output */
static void say_time(int cursorpos, const struct tm *tm)
@ -1212,7 +1214,7 @@ bool set_time_screen(const char* string, struct tm *tm)
return false;
}
#endif
#endif /* defined(HAVE_LCD_BITMAP) && defined (HAVE_RTC) */
#if CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == IRIVER_H100_PAD
bool shutdown_screen(void)