A few minor cleanups for the Gigabeat S

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14812 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Will Robertson 2007-09-22 02:17:08 +00:00
parent 729388f741
commit 26a05afe10
7 changed files with 82 additions and 9 deletions

View file

@ -208,6 +208,8 @@ static bool timer_set(long cycles, bool start)
cycles_new = cycles;
return true;
#elif (CONFIG_CPU == IMX31L)
/* TODO */
#else
return __TIMER_SET(cycles, start);
#endif /* CONFIG_CPU */
@ -268,6 +270,8 @@ bool timer_register(int reg_prio, void (*unregister_callback)(void),
irq_set_int_handler(IRQ_TIMER1, TIMER1_ISR);
irq_enable_int(IRQ_TIMER1);
return true;
#elif CONFIG_CPU == IMX31L
/* TODO */
#else
return __TIMER_REGISTER(reg_prio, unregister_callback, cycles,
int_prio, timer_callback);