summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index d1b369f..9ac9f85 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);