summaryrefslogtreecommitdiff
path: root/firmware/export/lcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r--firmware/export/lcd.h4
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. */
339extern void lcd_enable(bool on); 339extern void lcd_enable(bool on);
340extern bool lcd_enabled(void); 340extern 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 */
343void lcd_set_enable_hook(void (*enable_hook)(void)); 345void lcd_set_enable_hook(void (*enable_hook)(void));
346#endif /* HAVE_LCD_COLOR */
347
344#endif /* HAVE_LCD_ENABLE */ 348#endif /* HAVE_LCD_ENABLE */
345void lcd_call_enable_hook(void); 349void lcd_call_enable_hook(void);
346 350