This commit is contained in:
@ -536,9 +536,16 @@ ReturnValue_t pst::pstSpi(FixedTimeslotTaskIF *thisSequence) {
|
||||
}
|
||||
#endif /* OBSW_ADD_ACS_BOARD == 1 */
|
||||
|
||||
if (thisSequence->checkSequence() != HasReturnvaluesIF::RETURN_OK) {
|
||||
sif::error << "SPI PST initialization failed" << std::endl;
|
||||
return HasReturnvaluesIF::RETURN_FAILED;
|
||||
ReturnValue_t seqCheck = thisSequence->checkSequence();
|
||||
if (seqCheck != HasReturnvaluesIF::RETURN_OK) {
|
||||
if(seqCheck == FixedTimeslotTaskIF::SLOT_LIST_EMPTY) {
|
||||
sif::warning << "SPI PST is empty.." << std::endl;
|
||||
}
|
||||
else {
|
||||
sif::error << "SPI PST initialization failed" << std::endl;
|
||||
}
|
||||
|
||||
return seqCheck;
|
||||
}
|
||||
return HasReturnvaluesIF::RETURN_OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user