mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
imx233/fuze+: implement user time api, implement a stub function, protect timrot against irq
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30437 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
333b9ed2c3
commit
2ac668e44c
7 changed files with 86 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ static void tick_timer(void)
|
|||
void tick_start(unsigned int interval_in_ms)
|
||||
{
|
||||
/* use the 1-kHz XTAL clock source */
|
||||
imx233_setup_timer(0, true, interval_in_ms,
|
||||
imx233_setup_timer(TICK_TIMER_NR, true, interval_in_ms,
|
||||
HW_TIMROT_TIMCTRL__SELECT_1KHZ_XTAL, HW_TIMROT_TIMCTRL__PRESCALE_1,
|
||||
false, &tick_timer);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue