threshold for chamber temp

This commit is contained in:
Hendrik Schutter 2024-12-24 13:55:59 +01:00
parent 079b4e4972
commit 92caebd4c5

View File

@ -96,7 +96,7 @@ void taskControl(void *pvParameters)
if (bHeatingInAction == false) if (bHeatingInAction == false)
{ {
if (getReturnFlowTemperature().average60s.fValue <= currentControlEntry.fReturnFlowTemperature) if ((getReturnFlowTemperature().average60s.fValue <= currentControlEntry.fReturnFlowTemperature) && (getChamberTemperature().fCurrentValue <= 45.0))
{ {
ESP_LOGI(TAG, "Return Flow Target Temperature reached: Enable Burner"); ESP_LOGI(TAG, "Return Flow Target Temperature reached: Enable Burner");
bHeatingInAction = true; bHeatingInAction = true;