small fixed

This commit is contained in:
Robin Müller 2020-06-19 14:32:04 +02:00
parent 60ae2d4565
commit eb4ce980fe
2 changed files with 2 additions and 1 deletions

View File

@ -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) {

View File

@ -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.