mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
729388f741
commit
26a05afe10
7 changed files with 82 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue