1
0
forked from fsfw/fsfw

some object managerIF security measures

objectmanager get function checks whether global object manager was
initialized now.
New returnvalues, which are also used for local pool init
This commit is contained in:
2020-05-06 14:35:30 +02:00
parent 6b205e166b
commit e950051b4a
5 changed files with 24 additions and 36 deletions

View File

@ -89,17 +89,9 @@ uint32_t FixedSlotSequence::getLengthMs() const {
ReturnValue_t FixedSlotSequence::checkSequence() const {
if(slotList.empty()) {
<<<<<<< HEAD
sif::error << "Fixed Slot Sequence: Slot list is empty!" << std::endl;
return HasReturnvaluesIF::RETURN_FAILED;
}
// Iterate through slotList and check successful creation.
// Checks if timing is ok (must be ascending) and if all handlers were found.
=======
error << "Fixed Slot Sequence: Slot list is empty!" << std::endl;
return HasReturnvaluesIF::RETURN_FAILED;
}
>>>>>>> master
auto slotIt = slotList.begin();
uint32_t count = 0;
uint32_t time = 0;