diff options
author | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2019-02-08 00:52:37 +0100 |
---|---|---|
committer | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2019-02-08 00:52:37 +0100 |
commit | 168e2424988c8142da8ebb29ae633440062d4b16 (patch) | |
tree | 93895f1fc30f5e7f041cd8d49823d00cdd41578c /uisimulator | |
parent | 26e0c64e34f05d3869a7e5e26d7dd388888fa72e (diff) | |
download | rockbox-168e2424988c8142da8ebb29ae633440062d4b16.tar.gz rockbox-168e2424988c8142da8ebb29ae633440062d4b16.tar.bz2 rockbox-168e2424988c8142da8ebb29ae633440062d4b16.zip |
Fix the fix
Change-Id: I54b97fd0c208f775e4ee22cf8499f1da423ebc39
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/common/lcd-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/common/lcd-common.c b/uisimulator/common/lcd-common.c index c33e058858..a03b9c711f 100644 --- a/uisimulator/common/lcd-common.c +++ b/uisimulator/common/lcd-common.c @@ -26,7 +26,7 @@ #include "config.h" #include "system.h" #include "lcd.h" -#if defined(HAVE_TRANSFLECTIVE_LCD) && defined(HAVE_LCD_ENABLE) +#if defined(HAVE_TRANSFLECTIVE_LCD) && defined(HAVE_LCD_SLEEP) /* in uisimulator/sdl/lcd-bitmap.c and lcd-charcell.c */ extern void sim_backlight(int value); #endif @@ -82,7 +82,7 @@ void lcd_remote_set_invert_display(bool invert) void lcd_sleep(void) { lcd_sleeping = true; -#if defined(HAVE_TRANSFLECTIVE_LCD) && defined(HAVE_LCD_ENABLE) +#if defined(HAVE_TRANSFLECTIVE_LCD) && defined(HAVE_LCD_SLEEP) sim_backlight(0); /* completely blacken the screen */ #endif } |