returnvalue namespace #659

Merged
gaisser merged 14 commits from mueller/expand-retval-if into development 2022-08-22 14:14:07 +02:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 7f9269b387 - Show all commits

View File

@ -11,15 +11,15 @@ ReturnValue_t pst::pollingSequenceInitDefault(
/* Add polling sequence table here */
if (thisSequence->checkSequence() == HasReturnvaluesIF::RETURN_OK) {
return HasReturnvaluesIF::RETURN_OK;
if (thisSequence->checkSequence() == returnvalue::OK) {
return returnvalue::OK;
}
else {
#if FSFW_CPP_OSTREAM_ENABLED == 1
sif::error << "pst::pollingSequenceInitDefault: Sequence invalid!"
<< std::endl;
#endif
return HasReturnvaluesIF::returnvalue::FAILED;
return returnvalue::FAILED;
}
}