From 89ccd5c145e45ad541a02f38e2ad07fb916f7135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 29 Jun 2009 14:29:46 +0000 Subject: 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 --- apps/plugins/lib/grey_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/plugins/lib') diff --git a/apps/plugins/lib/grey_core.c b/apps/plugins/lib/grey_core.c index ea70ae9..6fa422b 100644 --- a/apps/plugins/lib/grey_core.c +++ b/apps/plugins/lib/grey_core.c @@ -648,11 +648,10 @@ void grey_show(bool enable) #endif #if NUM_CORES > 1 rb->timer_register(1, NULL, TIMER_FREQ / LCD_SCANRATE, - 1, _timer_isr, + _timer_isr, (_grey_info.flags & GREY_ON_COP) ? COP : CPU); #else - rb->timer_register(1, NULL, TIMER_FREQ / LCD_SCANRATE, 1, - _timer_isr); + rb->timer_register(1, NULL, TIMER_FREQ / LCD_SCANRATE, _timer_isr); #endif #endif /* !SIMULATOR */ rb->screen_dump_set_hook(grey_screendump_hook); -- cgit v1.1