Skip to content

Commit

Permalink
Fix wrong handler passed to set_interrupt_handler()
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajSadel committed Sep 23, 2024
1 parent 43a07dc commit 58ea545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-hal/src/timer/systimer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ mod asynch {
interrupt::enable(interrupt, handler.priority()).unwrap();
}

alarm.set_interrupt_handler(target0_handler);
alarm.set_interrupt_handler(handler);

alarm.enable_interrupt(true);

Expand Down

0 comments on commit 58ea545

Please sign in to comment.