diff options
author | Jens Arnold <amiconn@rockbox.org> | 2004-05-02 19:07:55 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2004-05-02 19:07:55 +0000 |
commit | d501b9083697e10e0dadbaabafb1b397668e43a9 (patch) | |
tree | 4dd5402190082c0825a12dd436728de76704b0d7 /apps | |
parent | e7b2ed9c3e68051347506e37bd114cf42197cbc9 (diff) | |
download | rockbox-d501b9083697e10e0dadbaabafb1b397668e43a9.tar.gz rockbox-d501b9083697e10e0dadbaabafb1b397668e43a9.zip |
Minor tweak for plugin_register_timer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4573 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index d1b369ff77..9ac9f85915 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -389,7 +389,7 @@ int plugin_register_timer(int cycles, int prio, void (*timer_callback)(void)) | |||
389 | 389 | ||
390 | pfn_timer = timer_callback; /* install 2nd level ISR */ | 390 | pfn_timer = timer_callback; /* install 2nd level ISR */ |
391 | 391 | ||
392 | TSR4 &= ~0x01; | 392 | and_b(~0x01, &TSR4); |
393 | TIER4 = 0xF9; /* Enable GRA match interrupt */ | 393 | TIER4 = 0xF9; /* Enable GRA match interrupt */ |
394 | 394 | ||
395 | GRA4 = (unsigned short)(cycles - 1); | 395 | GRA4 = (unsigned short)(cycles - 1); |