small form improvements
This commit is contained in:
parent
7b742a2e67
commit
558220643e
@ -115,8 +115,9 @@ void FixedTimeslotTask::taskFunctionality() {
|
|||||||
this->pollingSeqTable.executeAndAdvance();
|
this->pollingSeqTable.executeAndAdvance();
|
||||||
if (not pollingSeqTable.slotFollowsImmediately()) {
|
if (not pollingSeqTable.slotFollowsImmediately()) {
|
||||||
// we need to wait before executing the current slot
|
// we need to wait before executing the current slot
|
||||||
//this gives us the time to wait:
|
// this gives us the time to wait:
|
||||||
interval = chron_ms(this->pollingSeqTable.getIntervalToPreviousSlotMs());
|
interval = chron_ms(
|
||||||
|
this->pollingSeqTable.getIntervalToPreviousSlotMs());
|
||||||
delayForInterval(¤tStartTime, interval);
|
delayForInterval(¤tStartTime, interval);
|
||||||
//TODO deadline missed check
|
//TODO deadline missed check
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user