1
0
forked from fsfw/fsfw

task management functions have freertos syntax now

This commit is contained in:
2020-07-11 18:24:09 +02:00
parent 799846d89f
commit 7d794c7623
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
#include <framework/osal/FreeRTOS/TaskManagement.h>
void TaskManagement::requestContextSwitchFromTask() {
void TaskManagement::vRequestContextSwitchFromTask() {
vTaskDelay(0);
}
@ -8,9 +8,9 @@ void TaskManagement::requestContextSwitch(
CallContext callContext = CallContext::TASK) {
if(callContext == CallContext::ISR) {
// This function depends on the partmacro.h definition for the specific device
requestContextSwitchFromISR();
vRequestContextSwitchFromISR();
} else {
requestContextSwitchFromTask();
vRequestContextSwitchFromTask();
}
}