mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Fix red caused by ancient incorrect #ifdefs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23303 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d85c3ec410
commit
239002fe9e
1 changed files with 2 additions and 2 deletions
|
@ -598,7 +598,7 @@ static uint32_t increment_time(uint32_t val, int32_t amount, uint32_t range)
|
|||
return val;
|
||||
}
|
||||
|
||||
#if defined(HAVE_LCD_ENABLE) && defined(HAVE_LCD_COLOR)
|
||||
#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
|
||||
static void get_start_time_lcd_enable_hook(void *param)
|
||||
{
|
||||
(void)param;
|
||||
|
@ -619,7 +619,7 @@ static int get_start_time(uint32_t duration)
|
|||
lcd_(clear_display)();
|
||||
lcd_(update)();
|
||||
|
||||
#if defined(HAVE_LCD_ENABLE) && defined(HAVE_LCD_COLOR)
|
||||
#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
|
||||
rb->add_event(LCD_EVENT_ACTIVATION, false, get_start_time_lcd_enable_hook);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue