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:
parent
b4861738c9
commit
cd0bb1cbec
1 changed files with 4 additions and 2 deletions
|
@ -910,14 +910,16 @@ void splash(int ticks, /* how long the splash is displayed */
|
||||||
sleep(ticks);
|
sleep(ticks);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_CHARGING
|
||||||
void charging_splash(void)
|
void charging_splash(void)
|
||||||
{
|
{
|
||||||
splash(2*HZ, true, str(LANG_BATTERY_CHARGE));
|
splash(2*HZ, true, str(LANG_BATTERY_CHARGE));
|
||||||
button_clear_queue();
|
button_clear_queue();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#if defined(HAVE_LCD_BITMAP) && defined (HAVE_RTC)
|
||||||
|
|
||||||
/* little helper function for voice output */
|
/* little helper function for voice output */
|
||||||
static void say_time(int cursorpos, const struct tm *tm)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* defined(HAVE_LCD_BITMAP) && defined (HAVE_RTC) */
|
||||||
|
|
||||||
#if CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == IRIVER_H100_PAD
|
#if CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == IRIVER_H100_PAD
|
||||||
bool shutdown_screen(void)
|
bool shutdown_screen(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue