diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-04-21 01:46:05 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-04-21 19:10:34 +0100 |
commit | 9313274302554d06f0ba58fce44109088a8908aa (patch) | |
tree | 48afdd2d921ba05d444d36a363d1c49d466ade42 /firmware | |
parent | 27b44bca7325b72f881505029c1020eeb3a3bd23 (diff) | |
download | rockbox-9313274302554d06f0ba58fce44109088a8908aa.tar.gz rockbox-9313274302554d06f0ba58fce44109088a8908aa.zip |
FiiO M3K: fix LCD weirdness when booting via RoLo
Change-Id: I2234a0d1b3095adbcca0bbd060fd5a7e13a895c1
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/rolo.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c index 622110576a..d435db977e 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c | |||
@@ -65,6 +65,10 @@ extern int write_bootdata(unsigned char* buf, int len, unsigned int boot_volume | |||
65 | #include "ascodec.h" | 65 | #include "ascodec.h" |
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | #if defined(FIIO_M3K) | ||
69 | #include "backlight-target.h" | ||
70 | #endif | ||
71 | |||
68 | #if !defined(IRIVER_IFP7XX_SERIES) | 72 | #if !defined(IRIVER_IFP7XX_SERIES) |
69 | /* FIX: this doesn't work on iFP */ | 73 | /* FIX: this doesn't work on iFP */ |
70 | 74 | ||
@@ -292,6 +296,12 @@ int rolo_load(const char* filename) | |||
292 | lcd_remote_puts(0, 1, "Executing"); | 296 | lcd_remote_puts(0, 1, "Executing"); |
293 | lcd_remote_update(); | 297 | lcd_remote_update(); |
294 | #endif | 298 | #endif |
299 | |||
300 | #if defined(FIIO_M3K) | ||
301 | /* Avoids the LCD backlight ramping down & up weirdly */ | ||
302 | backlight_hw_off(); | ||
303 | #endif | ||
304 | |||
295 | adc_close(); | 305 | adc_close(); |
296 | #if CONFIG_CPU == AS3525v2 | 306 | #if CONFIG_CPU == AS3525v2 |
297 | /* Set CVDD1 power supply to default*/ | 307 | /* Set CVDD1 power supply to default*/ |