From 335df7787ab118078b1a22a26cdd1259d46240ed Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Wed, 1 Apr 2020 17:15:27 +0200 Subject: [PATCH] testing timeslot task 0 --- osal/FreeRTOS/FixedTimeslotTask.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/osal/FreeRTOS/FixedTimeslotTask.cpp b/osal/FreeRTOS/FixedTimeslotTask.cpp index 71e166a52..c33c4ef04 100644 --- a/osal/FreeRTOS/FixedTimeslotTask.cpp +++ b/osal/FreeRTOS/FixedTimeslotTask.cpp @@ -58,10 +58,6 @@ ReturnValue_t FixedTimeslotTask::startTask() { ReturnValue_t FixedTimeslotTask::addSlot(object_id_t componentId, uint32_t slotTimeMs, int8_t executionStep) { if (objectManager->get(componentId) != NULL) { - if(slotTimeMs == 0) { - // FreeRTOS throws errors for zero values - slotTimeMs = 1; - } pst.addSlot(componentId, slotTimeMs, executionStep, this); return HasReturnvaluesIF::RETURN_OK; }