Skip to content

Commit

Permalink
Fix Thread task wakeup for the NXP lighting app (#10107)
Browse files Browse the repository at this point in the history
Signed-off-by: Doru Gucea <[email protected]>
  • Loading branch information
doru91 authored Oct 1, 2021
1 parent 571dc75 commit ad35474
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/lighting-app/k32w/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,11 @@ extern "C" void main_task(void const * argument)
exit:
return;
}

extern "C" void otSysEventSignalPending(void)
{
{
BaseType_t yieldRequired = ThreadStackMgrImpl().SignalThreadActivityPendingFromISR();
portYIELD_FROM_ISR(yieldRequired);
}
}

0 comments on commit ad35474

Please sign in to comment.