diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/lcd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 0aec5d0cbf..60329147da 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -338,9 +338,13 @@ void lcd_poweroff(void); | |||
338 | /* Enable/disable the main display. */ | 338 | /* Enable/disable the main display. */ |
339 | extern void lcd_enable(bool on); | 339 | extern void lcd_enable(bool on); |
340 | extern bool lcd_enabled(void); | 340 | extern bool lcd_enabled(void); |
341 | |||
342 | #ifdef HAVE_LCD_COLOR | ||
341 | /* Register a hook that is called when the lcd is powered and after the | 343 | /* Register a hook that is called when the lcd is powered and after the |
342 | * framebuffer data is synchronized */ | 344 | * framebuffer data is synchronized */ |
343 | void lcd_set_enable_hook(void (*enable_hook)(void)); | 345 | void lcd_set_enable_hook(void (*enable_hook)(void)); |
346 | #endif /* HAVE_LCD_COLOR */ | ||
347 | |||
344 | #endif /* HAVE_LCD_ENABLE */ | 348 | #endif /* HAVE_LCD_ENABLE */ |
345 | void lcd_call_enable_hook(void); | 349 | void lcd_call_enable_hook(void); |
346 | 350 | ||