Skip to content

Commit

Permalink
Test commit 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyma98 committed Aug 29, 2024
1 parent 12891b9 commit ebe00f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/schedule/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,12 @@ pub(crate) fn pick_next() {
TaskState::Blocked | TaskState::Destructing => {}
// The current task should never be in the `Ready` or
// `Initializing` state.
TaskState::Ready | TaskState::Initializing => unrecoverable::die(),
TaskState::Ready | TaskState::Initializing => {
cortex_m::asm::nop();
cortex_m::asm::nop();
cortex_m::asm::nop();
unrecoverable::die()
},
}
});

Expand Down

0 comments on commit ebe00f6

Please sign in to comment.