woops, lasttn does need to be global
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15453 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2ecb3231c6
commit
5af8e940e1
1 changed files with 1 additions and 1 deletions
|
@ -86,13 +86,13 @@ bool remote_button_hold(void) {
|
|||
}
|
||||
#endif
|
||||
|
||||
static int lastbtn;
|
||||
void button_event(int key, bool pressed)
|
||||
{
|
||||
int new_btn = 0;
|
||||
int diff = 0;
|
||||
int data = 0;
|
||||
static int count = 0;
|
||||
static int lastbtn;
|
||||
static int repeat_speed = REPEAT_INTERVAL_START;
|
||||
static int repeat_count = 0;
|
||||
static bool repeat = false;
|
||||
|
|
Loading…
Reference in a new issue