diff options
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r-- | firmware/export/lcd.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index c3ad4f97d9..5c362c2b53 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -227,10 +227,17 @@ extern fb_data lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH]; | |||
227 | #define LCD_FBWIDTH LCD_WIDTH | 227 | #define LCD_FBWIDTH LCD_WIDTH |
228 | #endif | 228 | #endif |
229 | 229 | ||
230 | #if (CONFIG_BACKLIGHT==BL_IRIVER_H300) || (CONFIG_BACKLIGHT==BL_IPOD3G) | 230 | /** Port-specific functions. Enable in port config file. **/ |
231 | #ifdef HAVE_LCD_ENABLE | ||
232 | /* Enable/disable the main display. */ | ||
231 | extern void lcd_enable(bool on); | 233 | extern void lcd_enable(bool on); |
232 | #endif | 234 | #endif |
233 | 235 | ||
236 | #ifdef HAVE_LCD_SLEEP | ||
237 | /* Put the LCD into a power saving state deeper than lcd_enable(false). */ | ||
238 | extern void lcd_sleep(void); | ||
239 | #endif | ||
240 | |||
234 | /* Bitmap formats */ | 241 | /* Bitmap formats */ |
235 | enum | 242 | enum |
236 | { | 243 | { |