commit | 200ca669631e8f67f1877b1b5937a0301aae3d5e | [log] [tgz] |
---|---|---|
author | Marcin Bukat <marcin.bukat@gmail.com> | Mon Jan 12 13:25:14 2015 +0100 |
committer | Marcin Bukat <marcin.bukat@gmail.com> | Mon Jan 12 13:25:14 2015 +0100 |
tree | b7121b0667c865303495a281554ebbc007d766c7 | |
parent | 3d983866a1b080ff618717cee6fea0bd7c22a4f3 [diff] |
Fix red/yellow round #2 Change-Id: Ife25eac11fc6f6cedeca8f3fa59536bce0efe2cd
diff --git a/bootloader/mpio_hd200_hd300.c b/bootloader/mpio_hd200_hd300.c index 3d821ca..6538c06 100644 --- a/bootloader/mpio_hd200_hd300.c +++ b/bootloader/mpio_hd200_hd300.c
@@ -390,9 +390,9 @@ if ( hold != last_hold ) { if ( hold ) - _backlight_hw_off(); + backlight_hw_off(); else - _backlight_hw_on(); + backlight_hw_on(); last_hold = hold; }
diff --git a/firmware/target/arm/pbell/vibe500/backlight-target.h b/firmware/target/arm/pbell/vibe500/backlight-target.h index f924d01..7168ed6 100644 --- a/firmware/target/arm/pbell/vibe500/backlight-target.h +++ b/firmware/target/arm/pbell/vibe500/backlight-target.h
@@ -32,7 +32,7 @@ #ifdef HAVE_BUTTON_LIGHT void buttonlight_hw_on(void); void buttonlight_hw_off(void); -void buttonlight_hw_set_brightness(int brightness); +void buttonlight_hw_brightness(int brightness); #endif #endif /* BACKLIGHT_TARGET.H */
diff --git a/uisimulator/common/backlight-sim.h b/uisimulator/common/backlight-sim.h index cd77d02..cbb100b 100644 --- a/uisimulator/common/backlight-sim.h +++ b/uisimulator/common/backlight-sim.h
@@ -35,7 +35,7 @@ void buttonlight_hw_on(void); void buttonlight_hw_off(void); #ifdef HAVE_BUTTONLIGHT_BRIGHTNESS -void buttonlight_hw_set_brightness(int val); +void buttonlight_hw_brightness(int val); #endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */ #endif /* HAVE_BUTTON_LIGHT */