diff options
-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); |