nwze370: fix bootloader regression I caused

Change-Id: Ia14a9f46b4a6cc393043f59b586457e982472dc0
This commit is contained in:
nift4 2025-10-21 23:33:36 +02:00
parent b1511738f7
commit df3712e708

View file

@ -48,8 +48,13 @@ bool backlight_hw_init(void)
imx233_pinctrl_acquire(0, 10, "backlight_enable"); imx233_pinctrl_acquire(0, 10, "backlight_enable");
imx233_pinctrl_set_function(0, 10, PINCTRL_FUNCTION_GPIO); imx233_pinctrl_set_function(0, 10, PINCTRL_FUNCTION_GPIO);
imx233_pinctrl_enable_gpio(0, 10, true); imx233_pinctrl_enable_gpio(0, 10, true);
#ifndef BOOTLOADER
backlight_hw_brightness(0); backlight_hw_brightness(0);
return false; return false;
#else
backlight_hw_brightness(DEFAULT_BRIGHTNESS_SETTING);
return true;
#endif
} }
void backlight_hw_on(void) void backlight_hw_on(void)