Heater Info Set #351

Merged
muellerr merged 27 commits from add_heater_info_set into develop 2023-02-21 11:18:49 +01:00
51 changed files with 2389 additions and 3061 deletions
Showing only changes of commit ec8c5b7a5c - Show all commits

View File

@ -115,13 +115,9 @@ void ThermalController::performControlOperation() {
{ {
PoolReadGuard pg(&heaterInfo); PoolReadGuard pg(&heaterInfo);
if (pg.getReadResult() == returnvalue::OK) { PoolReadGuard pg2(&currentVecPdu2);
{ if (pg.getReadResult() == returnvalue::OK and pg2.getReadResult() == returnvalue::OK) {
PoolReadGuard pg(&currentVecPdu2); heaterInfo.heaterCurrent.value = currentVecPdu2.value[PDU2::Channels::TCS_HEATER_IN];
if (pg.getReadResult() == returnvalue::OK) {
heaterInfo.heaterCurrent.value = currentVecPdu2.value[PDU2::Channels::TCS_HEATER_IN];
}
}
} }
} }