From 200ca669631e8f67f1877b1b5937a0301aae3d5e Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Mon, 12 Jan 2015 13:25:14 +0100 Subject: [PATCH] Fix red/yellow round #2 Change-Id: Ife25eac11fc6f6cedeca8f3fa59536bce0efe2cd --- bootloader/mpio_hd200_hd300.c | 4 ++-- firmware/target/arm/pbell/vibe500/backlight-target.h | 2 +- uisimulator/common/backlight-sim.h | 2 +- 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 */