From d501b9083697e10e0dadbaabafb1b397668e43a9 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 2 May 2004 19:07:55 +0000 Subject: Minor tweak for plugin_register_timer() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4573 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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)) pfn_timer = timer_callback; /* install 2nd level ISR */ - TSR4 &= ~0x01; + and_b(~0x01, &TSR4); TIER4 = 0xF9; /* Enable GRA match interrupt */ GRA4 = (unsigned short)(cycles - 1); -- cgit v1.2.3