forked from len0rd/rockbox
Use TIMER_FREQ for timers in plugins. Fixes timer speed on iPod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9427 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
139acd9c57
commit
1be25a4d71
4 changed files with 10 additions and 7 deletions
|
@ -278,9 +278,9 @@ void gray_show(bool enable)
|
|||
gray_update();
|
||||
#else /* !SIMULATOR */
|
||||
#if CONFIG_LCD == LCD_SSD1815
|
||||
_gray_rb->timer_register(1, NULL, CPU_FREQ / 67, 1, _timer_isr);
|
||||
_gray_rb->timer_register(1, NULL, TIMER_FREQ / 67, 1, _timer_isr);
|
||||
#elif CONFIG_LCD == LCD_S1D15E06
|
||||
_gray_rb->timer_register(1, NULL, CPU_FREQ / 70, 1, _timer_isr);
|
||||
_gray_rb->timer_register(1, NULL, TIMER_FREQ / 70, 1, _timer_isr);
|
||||
#elif CONFIG_LCD == LCD_IFP7XX
|
||||
/* TODO: implement for iFP */
|
||||
(void)_timer_isr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue