fix shadowing warning
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:
parent
b3cdb05214
commit
ec8c5b7a5c
@ -115,13 +115,9 @@ void ThermalController::performControlOperation() {
|
|||||||
|
|
||||||
{
|
{
|
||||||
PoolReadGuard pg(&heaterInfo);
|
PoolReadGuard pg(&heaterInfo);
|
||||||
if (pg.getReadResult() == returnvalue::OK) {
|
PoolReadGuard pg2(¤tVecPdu2);
|
||||||
{
|
if (pg.getReadResult() == returnvalue::OK and pg2.getReadResult() == returnvalue::OK) {
|
||||||
PoolReadGuard pg(¤tVecPdu2);
|
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];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user