diff options
Diffstat (limited to 'firmware/target/coldfire/iaudio')
-rw-r--r-- | firmware/target/coldfire/iaudio/x5/backlight-x5.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/backlight-x5.c b/firmware/target/coldfire/iaudio/x5/backlight-x5.c index fcf2adeade..8a06c7d653 100644 --- a/firmware/target/coldfire/iaudio/x5/backlight-x5.c +++ b/firmware/target/coldfire/iaudio/x5/backlight-x5.c | |||
@@ -37,9 +37,6 @@ bool _backlight_init(void) | |||
37 | void _backlight_on(void) | 37 | void _backlight_on(void) |
38 | { | 38 | { |
39 | int level; | 39 | int level; |
40 | #ifdef HAVE_LCD_SLEEP | ||
41 | backlight_lcd_sleep_countdown(false); /* stop counter */ | ||
42 | #endif | ||
43 | #ifdef HAVE_LCD_ENABLE | 40 | #ifdef HAVE_LCD_ENABLE |
44 | lcd_enable(true); /* power on lcd + visible display */ | 41 | lcd_enable(true); /* power on lcd + visible display */ |
45 | #endif | 42 | #endif |
@@ -56,9 +53,6 @@ void _backlight_off(void) | |||
56 | #ifdef HAVE_LCD_ENABLE | 53 | #ifdef HAVE_LCD_ENABLE |
57 | lcd_enable(false); /* power off visible display */ | 54 | lcd_enable(false); /* power off visible display */ |
58 | #endif | 55 | #endif |
59 | #ifdef HAVE_LCD_SLEEP | ||
60 | backlight_lcd_sleep_countdown(true); /* start countdown */ | ||
61 | #endif | ||
62 | } | 56 | } |
63 | 57 | ||
64 | /* set brightness by changing the PWM */ | 58 | /* set brightness by changing the PWM */ |