WIP: somethings wrong.. #19
@ -114,7 +114,7 @@ void FixedTimeslotTask::taskFunctionality() {
|
|||||||
if(xTaskGetTickCount() - xLastWakeTime >=
|
if(xTaskGetTickCount() - xLastWakeTime >=
|
||||||
pdMS_TO_TICKS(this->pst.getIntervalToPreviousSlotMs())) {
|
pdMS_TO_TICKS(this->pst.getIntervalToPreviousSlotMs())) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
sif::warning << "PeriodicTask: " << pcTaskGetName(NULL) <<
|
sif::warning << "FixedTimeslotTask: " << pcTaskGetName(NULL) <<
|
||||||
" missed deadline!\n" << std::flush;
|
" missed deadline!\n" << std::flush;
|
||||||
#endif
|
#endif
|
||||||
if(deadlineMissedFunc != nullptr) {
|
if(deadlineMissedFunc != nullptr) {
|
||||||
|
@ -22,6 +22,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Keep in Mind that you need to call before this vTaskStartScheduler()!
|
* Keep in Mind that you need to call before this vTaskStartScheduler()!
|
||||||
* A lot of task parameters are set in "FreeRTOSConfig.h".
|
* A lot of task parameters are set in "FreeRTOSConfig.h".
|
||||||
|
* TODO: why does this need to be called before vTaskStartScheduler?
|
||||||
* @details
|
* @details
|
||||||
* The class is initialized without allocated objects.
|
* The class is initialized without allocated objects.
|
||||||
* These need to be added with #addComponent.
|
* These need to be added with #addComponent.
|
||||||
|
Loading…
Reference in New Issue
Block a user