1
0
forked from fsfw/fsfw

replace std::set by std::multiset

so there can be multiple entries with same pollignTime
This commit is contained in:
2020-03-28 00:09:15 +01:00
parent 5d071a1cf1
commit 93678adc5a
3 changed files with 16 additions and 9 deletions

View File

@ -104,11 +104,14 @@ ReturnValue_t FixedSlotSequence::checkSequence() const {
count++;
} else {
// All ok, print slot.
// (*slotIt)->print();
//info << "Current slot polling time: " << std::endl;
//info << std::dec << slotIt->pollingTimeMs << std::endl;
}
time = slotIt->pollingTimeMs;
slotIt++;
}
//info << "Number of elements in slot list: "
// << slotList.size() << std::endl;
if (count > 0) {
return HasReturnvaluesIF::RETURN_FAILED;
}