diff --git a/tests/C/timer/timer.c b/tests/C/timer/timer.c index a9c1d80..4f43332 100644 --- a/tests/C/timer/timer.c +++ b/tests/C/timer/timer.c @@ -35,7 +35,7 @@ void register_timer_isr() { asm volatile("csrw mie, t1"); // enable interrupts - asm volatile( "csrs mstatus,1" ); + asm volatile( "csrs mstatus,0x0F" ); } int main(void) {