Fix red/yellow round #2
Change-Id: Ife25eac11fc6f6cedeca8f3fa59536bce0efe2cd
This commit is contained in:
parent
3d983866a1
commit
200ca66963
3 changed files with 4 additions and 4 deletions
|
@ -390,9 +390,9 @@ void main(void)
|
||||||
if ( hold != last_hold )
|
if ( hold != last_hold )
|
||||||
{
|
{
|
||||||
if ( hold )
|
if ( hold )
|
||||||
_backlight_hw_off();
|
backlight_hw_off();
|
||||||
else
|
else
|
||||||
_backlight_hw_on();
|
backlight_hw_on();
|
||||||
|
|
||||||
last_hold = hold;
|
last_hold = hold;
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ void backlight_hw_brightness(int brightness);
|
||||||
#ifdef HAVE_BUTTON_LIGHT
|
#ifdef HAVE_BUTTON_LIGHT
|
||||||
void buttonlight_hw_on(void);
|
void buttonlight_hw_on(void);
|
||||||
void buttonlight_hw_off(void);
|
void buttonlight_hw_off(void);
|
||||||
void buttonlight_hw_set_brightness(int brightness);
|
void buttonlight_hw_brightness(int brightness);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* BACKLIGHT_TARGET.H */
|
#endif /* BACKLIGHT_TARGET.H */
|
||||||
|
|
|
@ -35,7 +35,7 @@ void backlight_hw_brightness(int val);
|
||||||
void buttonlight_hw_on(void);
|
void buttonlight_hw_on(void);
|
||||||
void buttonlight_hw_off(void);
|
void buttonlight_hw_off(void);
|
||||||
#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS
|
#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS
|
||||||
void buttonlight_hw_set_brightness(int val);
|
void buttonlight_hw_brightness(int val);
|
||||||
#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */
|
#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */
|
||||||
#endif /* HAVE_BUTTON_LIGHT */
|
#endif /* HAVE_BUTTON_LIGHT */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue