Skip to content
Snippets Groups Projects
Commit e745298c authored by Carl Philipp Klemm's avatar Carl Philipp Klemm
Browse files

set setpoints to zero at startup to avoid overcurrent trip

parent 4701b1ef
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,11 @@ deviceFailCb(deviceFailCbIn), heaterFailCb(heaterFailCbIn) ...@@ -42,6 +42,11 @@ deviceFailCb(deviceFailCbIn), heaterFailCb(heaterFailCbIn)
" reports its heater " + std::to_string(heater) + " is in a fault conditon: " + " reports its heater " + std::to_string(heater) + " is in a fault conditon: " +
coincellhell_string_for_fault(states[i].faultType)); coincellhell_string_for_fault(states[i].faultType));
} }
ret = coincellhell_set_temperature(&devices[i].device, heater, 0);
if(ret != 0)
throw startup_failure("Unable to set temperature to coincellhell with serial " + std::to_string(serials[i]));
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment