diff options
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c b/firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c index 051b1c8479..1a41f0c53e 100644 --- a/firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c +++ b/firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c @@ -34,13 +34,13 @@ bool _backlight_init(void) void _backlight_on(void) { /* LEDEN=1 */ - mc13783_set(MC13783_LED_CONTROL0, (1 << 0)); + mc13783_set(MC13783_LED_CONTROL0, MC13783_LEDEN); } void _backlight_off(void) { /* LEDEN=0 */ - mc13783_clear(MC13783_LED_CONTROL0, (1 << 0)); + mc13783_clear(MC13783_LED_CONTROL0, MC13783_LEDEN); } /* Assumes that the backlight has been initialized */ |