diff --git a/heater.cpp b/heater.cpp index 77319b02e69cb6a4b3686a6a69cefc886a4951d2..b45468870568a6bbc7248b879d9b873cb2500c60 100644 --- a/heater.cpp +++ b/heater.cpp @@ -42,6 +42,11 @@ deviceFailCb(deviceFailCbIn), heaterFailCb(heaterFailCbIn) " reports its heater " + std::to_string(heater) + " is in a fault conditon: " + 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])); } } }