comment
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2023-07-06 23:07:54 +02:00
parent 027955597f
commit f1ca4b174f
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -215,6 +215,7 @@ void ThermalController::performControlOperation() {
} }
heaterTransitionControl(heaterSwitchStateArray); heaterTransitionControl(heaterSwitchStateArray);
heaterMaxDurationControl(heaterSwitchStateArray); heaterMaxDurationControl(heaterSwitchStateArray);
// This dataset makes the TCS CTRL observable.
PoolReadGuard pg(&tcsCtrlInfo); PoolReadGuard pg(&tcsCtrlInfo);
for (uint8_t i = 0; i < thermalStates.size(); i++) { for (uint8_t i = 0; i < thermalStates.size(); i++) {
tcsCtrlInfo.heatingOnVec[i] = thermalStates[i].heating; tcsCtrlInfo.heatingOnVec[i] = thermalStates[i].heating;