From eb4ce980fe93feaba64f01cf13d43d96aaa7d20a Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Fri, 19 Jun 2020 14:32:04 +0200 Subject: [PATCH] small fixed --- osal/FreeRTOS/FixedTimeslotTask.cpp | 2 +- osal/FreeRTOS/PeriodicTask.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/osal/FreeRTOS/FixedTimeslotTask.cpp b/osal/FreeRTOS/FixedTimeslotTask.cpp index de99413e..ea324d35 100644 --- a/osal/FreeRTOS/FixedTimeslotTask.cpp +++ b/osal/FreeRTOS/FixedTimeslotTask.cpp @@ -114,7 +114,7 @@ void FixedTimeslotTask::taskFunctionality() { if(xTaskGetTickCount() - xLastWakeTime >= pdMS_TO_TICKS(this->pst.getIntervalToPreviousSlotMs())) { #ifdef DEBUG - sif::warning << "PeriodicTask: " << pcTaskGetName(NULL) << + sif::warning << "FixedTimeslotTask: " << pcTaskGetName(NULL) << " missed deadline!\n" << std::flush; #endif if(deadlineMissedFunc != nullptr) { diff --git a/osal/FreeRTOS/PeriodicTask.h b/osal/FreeRTOS/PeriodicTask.h index fd1dd0df..b9930a73 100644 --- a/osal/FreeRTOS/PeriodicTask.h +++ b/osal/FreeRTOS/PeriodicTask.h @@ -22,6 +22,7 @@ public: /** * Keep in Mind that you need to call before this vTaskStartScheduler()! * A lot of task parameters are set in "FreeRTOSConfig.h". + * TODO: why does this need to be called before vTaskStartScheduler? * @details * The class is initialized without allocated objects. * These need to be added with #addComponent.