Skip to content

Commit

Permalink
Explain yielding
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Feb 21, 2025
1 parent c8c35e2 commit 4a9ef47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esp-wifi/src/preempt_builtin/timer/xtensa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ extern "C" fn timer_tick_handler() {
timer.clear_interrupt();
});

// For unknown reasons, task_switch would end up generating an exception when
// called at priority 1, so trigger the level 3 interrupt instead.
yield_task();
}

Expand Down

0 comments on commit 4a9ef47

Please sign in to comment.