export metrics
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user