fixed wrong interrupt enable value
This commit is contained in:
parent
5f0da6b208
commit
70e9313025
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue