mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 21:03:34 +08:00
added new method that yield from ISR after semaphore is given from ISR
This commit is contained in:
@@ -116,6 +116,11 @@ void BusEvent::signalFromInterrupt()
|
||||
portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
|
||||
}
|
||||
|
||||
void BusEvent::yieldFromISR()
|
||||
{
|
||||
portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
|
||||
}
|
||||
|
||||
/*
|
||||
* Mutex
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user