diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-04-02 12:45:30 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-04-02 12:45:30 +0000 |
commit | 1be25a4d7157862e379e502b33079a8313c365c0 (patch) | |
tree | f1b9b8a138bd9dde342c40c16e2573267c9b19a4 /apps/plugins/metronome.c | |
parent | 139acd9c576a82eba9cb8d545251686d309abec6 (diff) |
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
Diffstat (limited to 'apps/plugins/metronome.c')
-rw-r--r-- | apps/plugins/metronome.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/metronome.c b/apps/plugins/metronome.c index 0206b3028a..04ebdae1c0 100644 --- a/apps/plugins/metronome.c +++ b/apps/plugins/metronome.c @@ -923,7 +923,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter){ #endif calc_period(); - rb->timer_register(1, NULL, CPU_FREQ/1024, 1, timer_callback); + rb->timer_register(1, NULL, TIMER_FREQ/1024, 1, timer_callback); draw_display(); /* main loop */ |