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");
|
asm volatile("csrw mie, t1");
|
||||||
|
|
||||||
// enable interrupts
|
// enable interrupts
|
||||||
asm volatile( "csrs mstatus,1" );
|
asm volatile( "csrs mstatus,0x0F" );
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(void) {
|
int main(void) {
|
||||||
|
|
Loading…
Reference in New Issue