long policy

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5844 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jean-Philippe Bernardy 2005-02-07 22:57:05 +00:00
parent f64939eeda
commit f997199ff8
2 changed files with 4 additions and 4 deletions

View file

@ -165,7 +165,7 @@ static void button_tick(void)
backlight_tick();
}
int button_get(bool block)
long button_get(bool block)
{
struct event ev;
@ -177,7 +177,7 @@ int button_get(bool block)
return BUTTON_NONE;
}
int button_get_w_tmo(int ticks)
long button_get_w_tmo(int ticks)
{
struct event ev;
queue_wait_w_tmo(&button_queue, &ev, ticks);

View file

@ -26,8 +26,8 @@
extern struct event_queue button_queue;
void button_init (void);
int button_get (bool block);
int button_get_w_tmo(int ticks);
long button_get (bool block);
long button_get_w_tmo(int ticks);
int button_status(void);
void button_clear_queue(void);
#ifdef HAVE_LCD_BITMAP