summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2015-01-12 13:25:14 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2015-01-12 13:25:14 +0100
commit200ca669631e8f67f1877b1b5937a0301aae3d5e (patch)
treeb7121b0667c865303495a281554ebbc007d766c7
parent3d983866a1b080ff618717cee6fea0bd7c22a4f3 (diff)
downloadrockbox-200ca669631e8f67f1877b1b5937a0301aae3d5e.tar.gz
rockbox-200ca669631e8f67f1877b1b5937a0301aae3d5e.zip
Fix red/yellow round #2
Change-Id: Ife25eac11fc6f6cedeca8f3fa59536bce0efe2cd
-rw-r--r--bootloader/mpio_hd200_hd300.c4
-rw-r--r--firmware/target/arm/pbell/vibe500/backlight-target.h2
-rw-r--r--uisimulator/common/backlight-sim.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/bootloader/mpio_hd200_hd300.c b/bootloader/mpio_hd200_hd300.c
index 3d821caf6b..6538c06a31 100644
--- a/bootloader/mpio_hd200_hd300.c
+++ b/bootloader/mpio_hd200_hd300.c
@@ -390,9 +390,9 @@ void main(void)
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 f924d01de8..7168ed62fa 100644
--- a/firmware/target/arm/pbell/vibe500/backlight-target.h
+++ b/firmware/target/arm/pbell/vibe500/backlight-target.h
@@ -32,7 +32,7 @@ void backlight_hw_brightness(int brightness);
#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 cd77d0287b..cbb100b645 100644
--- a/uisimulator/common/backlight-sim.h
+++ b/uisimulator/common/backlight-sim.h
@@ -35,7 +35,7 @@ void backlight_hw_brightness(int val);
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 */