fixed wrong interrupt enable value

This commit is contained in:
Màrius Montón 2019-09-24 11:03:31 +02:00
parent 5f0da6b208
commit 70e9313025
1 changed files with 1 additions and 1 deletions

View File

@ -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) {