export metrics

This commit is contained in:
2024-12-07 22:46:38 +01:00
parent 311ab2db2f
commit 873d63e6fa
7 changed files with 307 additions and 200 deletions

View File

@ -26,7 +26,7 @@ static float fOutdoorTemperature;
static float fInletFlowTemperature;
static float fReturnFlowTemperature;
void loop(void *pvParameters);
void taskInput(void *pvParameters);
void initInputs(void)
{
@ -42,12 +42,12 @@ void initInputs(void)
gpio_config(&ioConfBurnerFault);
BaseType_t taskCreated = xTaskCreate(
loop, // Function to implement the task
"loop_inputs", // Task name
2048, // Stack size (in words, not bytes)
NULL, // Parameters to the task function (none in this case)
5, // Task priority (higher number = higher priority)
NULL // Task handle (optional)
taskInput, // Function to implement the task
"taskInput", // Task name
2048, // Stack size (in words, not bytes)
NULL, // Parameters to the task function (none in this case)
5, // Task priority (higher number = higher priority)
NULL // Task handle (optional)
);
if (taskCreated == pdPASS)
@ -60,7 +60,7 @@ void initInputs(void)
}
}
void loop(void *pvParameters)
void taskInput(void *pvParameters)
{
while (1)
{