summaryrefslogtreecommitdiff
path: root/apps/plugins/test_scanrate.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-04-04 19:38:46 +0000
committerJens Arnold <amiconn@rockbox.org>2008-04-04 19:38:46 +0000
commitac9b92716a11cf7699f6ce9668b1ca5cd4171cf9 (patch)
treeb327ea00d2320464d5022b63690032ec31b55f47 /apps/plugins/test_scanrate.c
parent3183b9e534eba4ca07ffaa68895e63177b5d8761 (diff)
Allow to select the core for running the user timer on portalplayer targets. * Incompatible plugin API change -> sorted API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16965 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_scanrate.c')
-rw-r--r--apps/plugins/test_scanrate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/test_scanrate.c b/apps/plugins/test_scanrate.c
index aabc623d9f..e88ac99a0f 100644
--- a/apps/plugins/test_scanrate.c
+++ b/apps/plugins/test_scanrate.c
@@ -150,7 +150,8 @@ int plugin_main(void)
rb->cpu_boost(true);
#endif
/* The actual frequency is twice the displayed value */
- rb->timer_register(1, NULL, TIMER_FREQ * 5 / scan_rate, 1, timer_isr);
+ rb->timer_register(1, NULL, TIMER_FREQ * 5 / scan_rate, 1,
+ timer_isr IF_COP(, CPU));
while (!done)
{