forked from len0rd/rockbox
fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20020 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2871963bee
commit
43a8e08a23
1 changed files with 3 additions and 2 deletions
|
@ -43,8 +43,9 @@ static long last_wheel_post = 0;
|
||||||
static long next_backlight_on = 0;
|
static long next_backlight_on = 0;
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
static bool hold_button = false;
|
static bool hold_button = false;
|
||||||
|
#ifndef BOOTLOADER
|
||||||
static bool hold_button_old = false;
|
static bool hold_button_old = false;
|
||||||
#define _button_hold() hold_button
|
#endif
|
||||||
|
|
||||||
extern void lcd_button_support(void);
|
extern void lcd_button_support(void);
|
||||||
|
|
||||||
|
@ -55,7 +56,7 @@ void button_init_device(void)
|
||||||
|
|
||||||
bool button_hold(void)
|
bool button_hold(void)
|
||||||
{
|
{
|
||||||
return _button_hold();
|
return hold_button;
|
||||||
}
|
}
|
||||||
|
|
||||||
void clickwheel(unsigned int wheel_value)
|
void clickwheel(unsigned int wheel_value)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue