mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-08-21 12:20:35 +08:00
fixed yield from isr
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# include <nuttx/irq.h>
|
||||
# include <arch/board/board.h>
|
||||
#elif UAVCAN_STM32_BAREMETAL
|
||||
#include <stm32f4xx.h>
|
||||
#include <chip.h>
|
||||
#elif UAVCAN_STM32_FREERTOS
|
||||
#include <stm32f4xx.h>
|
||||
#include <cmsis_os.h>
|
||||
|
||||
@@ -112,8 +112,6 @@ void BusEvent::signalFromInterrupt()
|
||||
xHigherPriorityTaskWoken = pdFALSE;
|
||||
|
||||
xSemaphoreGiveFromISR( sem_, &xHigherPriorityTaskWoken );
|
||||
|
||||
portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
|
||||
}
|
||||
|
||||
void BusEvent::yieldFromISR()
|
||||
|
||||
Reference in New Issue
Block a user