1
0
Fork 0
forked from len0rd/rockbox

Remove int_prio argument from timer_register, and move the only use for it into alpine_cdc plugin, since this plugin is only built on SH7034

Also remove it from TIMER_START()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21558 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2009-06-29 14:29:46 +00:00
parent b955dff268
commit 89ccd5c145
25 changed files with 42 additions and 68 deletions

View file

@ -36,9 +36,8 @@ Uint32 SDL_timer_callback(Uint32 interval, void *param){
((int)((1000*cycles)/TIMER_FREQ))
bool timer_register(int reg_prio, void (*unregister_callback)(void),
long cycles, int int_prio, void (*timer_callback)(void))
long cycles, void (*timer_callback)(void))
{
(void)int_prio;/* interrupt priority not used */
(void)unregister_callback;
if (reg_prio <= timer_prio || cycles == 0)
return false;