diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-10-02 14:44:26 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-10-02 14:44:26 +0000 |
commit | 30f333108ca11d5d27525d4ced545079175f97f9 (patch) | |
tree | c3d8c7613490c3e61e27f3ecd1723963e37b0b15 | |
parent | cb0a8cb71d9e05930739a1e3fa38291b36b47241 (diff) |
fuze+: set backlight brightness to default only when there is not backlight infrastructure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30636 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/imx233/sansa-fuzeplus/backlight-fuzeplus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/backlight-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/backlight-fuzeplus.c index 0638e30aeb..92f63aebfe 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/backlight-fuzeplus.c +++ b/firmware/target/arm/imx233/sansa-fuzeplus/backlight-fuzeplus.c @@ -42,9 +42,9 @@ bool _backlight_init(void) imx233_set_pin_function(1, 28, PINCTRL_FUNCTION_GPIO); imx233_set_pin_drive_strength(1, 28, PINCTRL_DRIVE_8mA); imx233_enable_gpio_output(1, 28, true); - imx233_set_gpio_output(1, 29, true); - udelay(600); - _backlight_set_brightness(100); + #ifndef HAVE_BACKLIGHT_BRIGHTNESS + _backlight_set_brightness(DEFAULT_BRIGHTNESS_SETTING); + #endif return true; } |