removed context switch request

(shall be done at end of ISR, so must be performed by caller)
This commit is contained in:
2020-05-29 13:02:13 +02:00
parent da403c01d0
commit 78ae109a08
8 changed files with 17 additions and 25 deletions

View File

@ -5,8 +5,8 @@ void TaskManagement::requestContextSwitchFromTask() {
}
void TaskManagement::requestContextSwitch(
CallContext callContext = CallContext::task) {
if(callContext == CallContext::isr) {
CallContext callContext = CallContext::TASK) {
if(callContext == CallContext::ISR) {
// This function depends on the partmacro.h definition for the specific device
requestContextSwitchFromISR();
} else {