FiiO M3K: fix LCD weirdness when booting via RoLo

Change-Id: I2234a0d1b3095adbcca0bbd060fd5a7e13a895c1
This commit is contained in:
Aidan MacDonald 2021-04-21 01:46:05 +01:00
parent 27b44bca73
commit 9313274302
1 changed files with 10 additions and 0 deletions

View File

@ -65,6 +65,10 @@ extern int write_bootdata(unsigned char* buf, int len, unsigned int boot_volume
#include "ascodec.h"
#endif
#if defined(FIIO_M3K)
#include "backlight-target.h"
#endif
#if !defined(IRIVER_IFP7XX_SERIES)
/* FIX: this doesn't work on iFP */
@ -292,6 +296,12 @@ int rolo_load(const char* filename)
lcd_remote_puts(0, 1, "Executing");
lcd_remote_update();
#endif
#if defined(FIIO_M3K)
/* Avoids the LCD backlight ramping down & up weirdly */
backlight_hw_off();
#endif
adc_close();
#if CONFIG_CPU == AS3525v2
/* Set CVDD1 power supply to default*/