mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
fixed yield from isr
This commit is contained in:
parent
8abfd18189
commit
13dbca3f0e
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user