mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 04:33:35 +08:00
fixed spacing and variable notation
This commit is contained in:
@@ -109,14 +109,14 @@ void BusEvent::signal()
|
||||
|
||||
void BusEvent::signalFromInterrupt()
|
||||
{
|
||||
xHigherPriorityTaskWoken = pdFALSE;
|
||||
higher_priority_task_woken = pdFALSE;
|
||||
|
||||
xSemaphoreGiveFromISR( sem_, &xHigherPriorityTaskWoken );
|
||||
xSemaphoreGiveFromISR( sem_, &higher_priority_task_woken );
|
||||
}
|
||||
|
||||
void BusEvent::yieldFromISR()
|
||||
{
|
||||
portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
|
||||
portYIELD_FROM_ISR( higher_priority_task_woken );
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user