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

This commit is contained in:
Robin Müller 2023-07-11 10:44:46 +02:00
parent 8800b20409
commit ed7d75a777
Signed by: muellerr
GPG Key ID: 407F9B00F858F270

View File

@ -1818,7 +1818,7 @@ bool ThermalController::heaterCtrlAllowed() const { return submode != SUBMODE_NO
void ThermalController::resetThermalStates() { void ThermalController::resetThermalStates() {
for (auto& thermalState : thermalStates) { for (auto& thermalState : thermalStates) {
thermalState.heating = false; thermalState.heating = false;
thermalState.errorCounter = 0; thermalState.noSensorAvailableCounter = 0;
thermalState.heaterStartTime = 0; thermalState.heaterStartTime = 0;
thermalState.heaterEndTime = 0; thermalState.heaterEndTime = 0;
thermalState.sensorIndex = 0; thermalState.sensorIndex = 0;