diff options
Diffstat (limited to 'uisimulator/common/stubs.c')
-rw-r--r-- | uisimulator/common/stubs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index 89e3cea102..9b628828ae 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c | |||
@@ -29,6 +29,9 @@ | |||
29 | #include "string.h" | 29 | #include "string.h" |
30 | #include "lcd.h" | 30 | #include "lcd.h" |
31 | 31 | ||
32 | extern char having_new_lcd; | ||
33 | |||
34 | |||
32 | void backlight_on(void) | 35 | void backlight_on(void) |
33 | { | 36 | { |
34 | /* we could do something better here! */ | 37 | /* we could do something better here! */ |
@@ -163,7 +166,7 @@ bool oscillograph(void) | |||
163 | 166 | ||
164 | bool has_new_lcd(void) | 167 | bool has_new_lcd(void) |
165 | { | 168 | { |
166 | return false; | 169 | return having_new_lcd; |
167 | } | 170 | } |
168 | 171 | ||
169 | void lcd_set_contrast( int x ) | 172 | void lcd_set_contrast( int x ) |