diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/lcd.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index e435d174f2..e34fac5d31 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -341,21 +341,21 @@ void lcd_poweroff(void); | |||
341 | #ifdef HAVE_LCD_ENABLE | 341 | #ifdef HAVE_LCD_ENABLE |
342 | /* Enable/disable the main display. */ | 342 | /* Enable/disable the main display. */ |
343 | extern void lcd_enable(bool on); | 343 | extern void lcd_enable(bool on); |
344 | extern bool lcd_enabled(void); | ||
345 | |||
346 | #ifdef HAVE_LCD_COLOR | ||
347 | /* Register a hook that is called when the lcd is powered and after the | ||
348 | * framebuffer data is synchronized */ | ||
349 | void lcd_set_enable_hook(void (*enable_hook)(void)); | ||
350 | #endif /* HAVE_LCD_COLOR */ | ||
351 | |||
352 | #endif /* HAVE_LCD_ENABLE */ | 344 | #endif /* HAVE_LCD_ENABLE */ |
353 | void lcd_call_enable_hook(void); | ||
354 | 345 | ||
355 | #ifdef HAVE_LCD_SLEEP | 346 | #ifdef HAVE_LCD_SLEEP |
356 | /* Put the LCD into a power saving state deeper than lcd_enable(false). */ | 347 | /* Put the LCD into a power saving state deeper than lcd_enable(false). */ |
357 | extern void lcd_sleep(void); | 348 | extern void lcd_sleep(void); |
358 | #endif /* HAVE_LCD_SLEEP */ | 349 | #endif /* HAVE_LCD_SLEEP */ |
350 | #if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) | ||
351 | /* Register a hook that is called when the lcd is powered and after the | ||
352 | * framebuffer data is synchronized */ | ||
353 | /* Sansa Clip has these function in it's lcd driver, since it's the only | ||
354 | * 1-bit display featuring lcd_active, so far */ | ||
355 | extern bool lcd_active(void); | ||
356 | extern void lcd_activation_set_hook(void (*enable_hook)(void)); | ||
357 | extern void lcd_activation_call_hook(void); | ||
358 | #endif | ||
359 | 359 | ||
360 | #ifdef HAVE_LCD_SHUTDOWN | 360 | #ifdef HAVE_LCD_SHUTDOWN |
361 | void lcd_shutdown(void); | 361 | void lcd_shutdown(void); |