Optimierung Systemhochlauf

This commit is contained in:
Bernhard
2025-12-12 18:50:18 +01:00
parent fbff41de71
commit bd6e3bbfe9
6 changed files with 69 additions and 42 deletions

4
main.c
View File

@@ -130,7 +130,7 @@ void *thread_func(void *data)
periodic_task_init(1, &pinfo);
// "Zündung" ein
WriteOutputPin(GPIO_OUT_PWRON, 1);
WriteOutputPin(GPIO_OUT_PWRON, HIGH);
// cyclic call of do_cyclic_1ms()
while (iThreadControl == 0)
@@ -146,7 +146,7 @@ void *thread_func(void *data)
}
// "Zündung" aus
WriteOutputPin(GPIO_OUT_PWRON, 0);
WriteOutputPin(GPIO_OUT_PWRON, LOW);
// Disconnect from mqtt broker
MqttClient_Close();