some better names
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
@ -626,14 +626,14 @@ int PlocSupvUartManager::handleAckReception(supv::TcBase& tc, uint8_t serviceId,
|
||||
triggerEvent(ACK_RECEPTION_FAILURE);
|
||||
return -1;
|
||||
}
|
||||
if (ackReport.getRefApid() == tc.getApid() and
|
||||
if (ackReport.getRefModuleApid() == tc.getModuleApid() and
|
||||
ackReport.getRefServiceId() == tc.getServiceId()) {
|
||||
if (serviceId == static_cast<uint8_t>(supv::tm::TmtcId::ACK)) {
|
||||
return 1;
|
||||
} else if (serviceId == static_cast<uint8_t>(supv::tm::TmtcId::NAK)) {
|
||||
ackReport.printStatusInformation();
|
||||
triggerEvent(SUPV_ACK_FAILURE_REPORT,
|
||||
buildApidServiceParam1(ackReport.getRefApid(), ackReport.getRefServiceId()),
|
||||
buildApidServiceParam1(ackReport.getRefModuleApid(), ackReport.getRefServiceId()),
|
||||
ackReport.getStatusCode());
|
||||
return -1;
|
||||
}
|
||||
@ -657,14 +657,14 @@ int PlocSupvUartManager::handleExeAckReception(supv::TcBase& tc, uint8_t service
|
||||
triggerEvent(EXE_RECEPTION_FAILURE);
|
||||
return -1;
|
||||
}
|
||||
if (exeReport.getRefApid() == tc.getApid() and
|
||||
if (exeReport.getRefModuleApid() == tc.getApid() and
|
||||
exeReport.getRefServiceId() == tc.getServiceId()) {
|
||||
if (serviceId == static_cast<uint8_t>(supv::tm::TmtcId::EXEC_ACK)) {
|
||||
return 1;
|
||||
} else if (serviceId == static_cast<uint8_t>(supv::tm::TmtcId::EXEC_NAK)) {
|
||||
exeReport.printStatusInformation();
|
||||
triggerEvent(SUPV_EXE_FAILURE_REPORT,
|
||||
buildApidServiceParam1(exeReport.getRefApid(), exeReport.getRefServiceId()),
|
||||
buildApidServiceParam1(exeReport.getRefModuleApid(), exeReport.getRefServiceId()),
|
||||
exeReport.getStatusCode());
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user