spelling fixes
This commit is contained in:
parent
dcace073d9
commit
ac15376f6b
@ -68,7 +68,7 @@ void taskControl(void *pvParameters)
|
||||
{
|
||||
vTaskDelay(PERIODIC_INTERVAL * 1000U / portTICK_PERIOD_MS);
|
||||
|
||||
// Handle safety faults
|
||||
// Check for safety faults
|
||||
if (getSafetyState() != SAFETY_NO_ERROR)
|
||||
{
|
||||
ESP_LOGW(TAG, "Control not possible due to safety fault!");
|
||||
@ -83,7 +83,7 @@ void taskControl(void *pvParameters)
|
||||
continue;
|
||||
}
|
||||
|
||||
// Handle SNTP faults
|
||||
// Check for SNTP faults
|
||||
if (getSntpState() != SYNC_SUCCESSFUL)
|
||||
{
|
||||
ESP_LOGW(TAG, "Control not possible due to SNTP fault!");
|
||||
@ -98,7 +98,6 @@ void taskControl(void *pvParameters)
|
||||
continue;
|
||||
}
|
||||
|
||||
// Get current temperature entry
|
||||
sControlTemperatureEntry currentControlEntry = getCurrentTemperatureEntry();
|
||||
|
||||
// Enable burner if outdoor temperature is low and return flow temperature is cooled down
|
||||
@ -124,7 +123,7 @@ void taskControl(void *pvParameters)
|
||||
}
|
||||
else
|
||||
{
|
||||
// ESP_LOGI(TAG, "Return flow temperature is still to warm: Disabling heating");
|
||||
// ESP_LOGI(TAG, "Return flow temperature too warm: Disabling heating");
|
||||
sControlState = CONTROL_RETURN_FLOW_TOO_WARM;
|
||||
}
|
||||
}
|
||||
@ -146,7 +145,7 @@ void taskControl(void *pvParameters)
|
||||
{
|
||||
if (getBurnerError() == FAULT)
|
||||
{
|
||||
// ESP_LOGI(TAG, "Burner fault detected after threshold!");
|
||||
// ESP_LOGW(TAG, "Burner fault detected: Disabling burner");
|
||||
bHeatingInAction = false;
|
||||
eBurnerState = BURNER_FAULT;
|
||||
sControlState = CONTROL_FAULT_BURNER;
|
||||
@ -155,23 +154,23 @@ void taskControl(void *pvParameters)
|
||||
}
|
||||
else
|
||||
{
|
||||
// ESP_LOGI(TAG, "No Burner fault detected after threshold!");
|
||||
// ESP_LOGI(TAG, "No burner fault detected: Marking burner as fired");
|
||||
eBurnerState = BURNER_FIRED;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Handle circulation pump state
|
||||
// Manage circulation pump
|
||||
if ((getReturnFlowTemperature().average60s.fValue <= currentControlEntry.fReturnFlowTemperature) &&
|
||||
(getChamberTemperature().fCurrentValue <= CHAMBER_TEMPERATURE_THRESHOLD))
|
||||
{
|
||||
// ESP_LOGI(TAG, "Burner is cooled down: Disable circulation pump");
|
||||
// ESP_LOGI(TAG, "Burner cooled down: Disabling circulation pump");
|
||||
setCirculationPumpState(DISABLED);
|
||||
}
|
||||
else
|
||||
{
|
||||
// ESP_LOGI(TAG, "Burner is heated: Enable circulation pump");
|
||||
// ESP_LOGI(TAG, "Burner heated: Enabling circulation pump");
|
||||
setCirculationPumpState(ENABLED);
|
||||
}
|
||||
} // End of while(1)
|
||||
|
Loading…
Reference in New Issue
Block a user