add prediction to all temps

This commit is contained in:
2024-12-26 18:54:50 +01:00
parent 1564860213
commit 856f009e7f
2 changed files with 24 additions and 3 deletions

View File

@ -234,15 +234,18 @@ void taskInput(void *pvParameters)
sOutdoorTemperature.fCurrentValue = temp_c;
sOutdoorTemperature.state = MEASUREMENT_NO_ERROR;
// updateAverage(&sOutdoorTemperature);
updateAverage(&sOutdoorTemperature);
updatePrediction(&sOutdoorTemperature);
sInletFlowTemperature.fCurrentValue = temp_c;
sInletFlowTemperature.state = MEASUREMENT_NO_ERROR;
// updateAverage(&sInletFlowTemperature);
updateAverage(&sInletFlowTemperature);
updatePrediction(&sInletFlowTemperature);
sReturnFlowTemperature.fCurrentValue = temp_c;
sReturnFlowTemperature.state = MEASUREMENT_NO_ERROR;
// updateAverage(&sReturnFlowTemperature);
updateAverage(&sReturnFlowTemperature);
updatePrediction(&sReturnFlowTemperature);
break;
default:
break;