diff --git a/indi-toupbase/indi_toupbase.cpp b/indi-toupbase/indi_toupbase.cpp index c0d7c49c0..216d30f4a 100644 --- a/indi-toupbase/indi_toupbase.cpp +++ b/indi-toupbase/indi_toupbase.cpp @@ -1268,7 +1268,7 @@ bool ToupBase::StopStreaming() int ToupBase::SetTemperature(double temperature) { // JM 2023.11.21: Only activate cooler if the requested temperature is below current temperature - if (activateCooler(temperature < TemperatureN[0].value) == false) + if (temperature < TemperatureN[0].value && activateCooler(true) == false) { LOG_ERROR("Failed to toggle cooler."); return -1;