Skip to content

Commit

Permalink
Print info also when GetStatus() returns unsuccessfully
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickKa committed Aug 24, 2023
1 parent a082264 commit b26b1c2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Sts1CobcSw/Periphery/Edu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,11 @@ auto Edu::GetStatus() -> EduStatus
if(sendDataError != EduErrorCode::success)
{
auto status = EduStatus{.statusType = EduStatusType::invalid, .errorCode = sendDataError};
// RODOS::PRINTF(" SendingDataError");
// RODOS::PRINTF(" .statusType = %d\n", static_cast<int>(status.statusType));
// RODOS::PRINTF(" .programId = %d\n", static_cast<int>(status.programId));
// RODOS::PRINTF(" .queueId = %d\n", static_cast<int>(status.queueId));
// RODOS::PRINTF(" .exitCode = %d\n", static_cast<int>(status.exitCode));
// RODOS::PRINTF(" .errorCode = %d\n", static_cast<int>(status.errorCode));
RODOS::PRINTF(" .statusType = %d\n", static_cast<int>(status.statusType));
RODOS::PRINTF(" .programId = %d\n", static_cast<int>(status.programId));
RODOS::PRINTF(" .queueId = %d\n", static_cast<int>(status.queueId));
RODOS::PRINTF(" .exitCode = %d\n", static_cast<int>(status.exitCode));
RODOS::PRINTF(" .errorCode = %d\n", static_cast<int>(status.errorCode));
return status;
}

Expand Down

0 comments on commit b26b1c2

Please sign in to comment.