diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-01 03:21:18 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-01 03:21:18 +0000 |
commit | 4fa96fbc914ae8fd69aedafd73f4f1798679d29f (patch) | |
tree | ea0deb3e1573e1dfd540441002e58b403670d178 /firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c | |
parent | a606121dd860245328198ac773d454980191abc3 (diff) | |
download | rockbox-4fa96fbc914ae8fd69aedafd73f4f1798679d29f.tar.gz rockbox-4fa96fbc914ae8fd69aedafd73f4f1798679d29f.zip |
M:Robe 500i: More LCD initialization, and beginnings of support for QVGA as well as VGA on the LCD. MPEGPlayer now works with reasonable performance on smaller videos, but YUV blitting persists after MPEGPlayer is left, some cleanup/changes to the initialization code. This should be functionally equivalent for the ZVM, but the #ifdef's may need to be added back for app.lds. Get the bootloader building again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20598 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c index 855f10ef35..9df857ec31 100644 --- a/firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c +++ b/firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | void _backlight_on(void) | 31 | void _backlight_on(void) |
32 | { | 32 | { |
33 | #ifdef HAVE_LCD_SLEEP | 33 | #if defined(HAVE_LCD_SLEEP) && !defined(BOOTLOADER) |
34 | backlight_lcd_sleep_countdown(false); /* stop counter */ | 34 | backlight_lcd_sleep_countdown(false); /* stop counter */ |
35 | #endif | 35 | #endif |
36 | #ifdef HAVE_LCD_ENABLE | 36 | #ifdef HAVE_LCD_ENABLE |
@@ -42,7 +42,7 @@ void _backlight_on(void) | |||
42 | void _backlight_off(void) | 42 | void _backlight_off(void) |
43 | { | 43 | { |
44 | _backlight_set_brightness(0); | 44 | _backlight_set_brightness(0); |
45 | #ifdef HAVE_LCD_SLEEP | 45 | #if defined(HAVE_LCD_SLEEP) && !defined(BOOTLOADER) |
46 | /* Disable lcd after fade completes (when lcd_sleep timeout expires) */ | 46 | /* Disable lcd after fade completes (when lcd_sleep timeout expires) */ |
47 | backlight_lcd_sleep_countdown(true); /* start countdown */ | 47 | backlight_lcd_sleep_countdown(true); /* start countdown */ |
48 | #endif | 48 | #endif |