diff options
Diffstat (limited to 'firmware/export/lcd.h')
-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 3e0ec780d2..45a6850db9 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -341,6 +341,10 @@ void lcd_poweroff(void); | |||
341 | /* Enable/disable the main display. */ | 341 | /* Enable/disable the main display. */ |
342 | extern void lcd_enable(bool on); | 342 | extern void lcd_enable(bool on); |
343 | extern bool lcd_enabled(void); | 343 | extern bool lcd_enabled(void); |
344 | /* Register a hook that is called when the lcd is powered and after the | ||
345 | * framebuffer data is synchronized */ | ||
346 | void lcd_set_enable_hook(void (*enable_hook)(void)); | ||
347 | void lcd_call_enable_hook(void); | ||
344 | #endif /* HAVE_LCD_ENABLE */ | 348 | #endif /* HAVE_LCD_ENABLE */ |
345 | 349 | ||
346 | #ifdef HAVE_LCD_SLEEP | 350 | #ifdef HAVE_LCD_SLEEP |