mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 05:02:33 -05:00
nwze370: fix bootloader regression I caused
Change-Id: Ia14a9f46b4a6cc393043f59b586457e982472dc0
This commit is contained in:
parent
b1511738f7
commit
df3712e708
1 changed files with 5 additions and 0 deletions
|
|
@ -48,8 +48,13 @@ bool backlight_hw_init(void)
|
|||
imx233_pinctrl_acquire(0, 10, "backlight_enable");
|
||||
imx233_pinctrl_set_function(0, 10, PINCTRL_FUNCTION_GPIO);
|
||||
imx233_pinctrl_enable_gpio(0, 10, true);
|
||||
#ifndef BOOTLOADER
|
||||
backlight_hw_brightness(0);
|
||||
return false;
|
||||
#else
|
||||
backlight_hw_brightness(DEFAULT_BRIGHTNESS_SETTING);
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
void backlight_hw_on(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue