return failed insteead of exiting
This commit is contained in:
parent
f09836a9eb
commit
cc0469fef6
@ -90,6 +90,7 @@ uint32_t FixedSlotSequence::getLengthMs() const {
|
|||||||
ReturnValue_t FixedSlotSequence::checkSequence() const {
|
ReturnValue_t FixedSlotSequence::checkSequence() const {
|
||||||
if(slotList.empty()) {
|
if(slotList.empty()) {
|
||||||
sif::error << "Fixed Slot Sequence: Slot list is empty!" << std::endl;
|
sif::error << "Fixed Slot Sequence: Slot list is empty!" << std::endl;
|
||||||
|
return HasReturnvaluesIF::RETURN_FAILED;
|
||||||
}
|
}
|
||||||
// Iterate through slotList and check successful creation.
|
// Iterate through slotList and check successful creation.
|
||||||
// Checks if timing is ok (must be ascending) and if all handlers were found.
|
// Checks if timing is ok (must be ascending) and if all handlers were found.
|
||||||
|
Loading…
Reference in New Issue
Block a user