Optimierung Systemhochlauf
This commit is contained in:
4
main.c
4
main.c
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user