mirror of
https://github.com/korneliuszo/lumiax-controller.git
synced 2026-08-09 18:32:49 +02:00
Fix poweroff
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ void gpio_cb(const struct device *port, struct gpio_callback *cb, gpio_port_pins
|
||||
{
|
||||
state = STATE::SECOND;
|
||||
printt("Poweringoff");
|
||||
modbus_write_coil(client_iface, 1, 0x0000, 1);
|
||||
atomic_set(&onoff,0);
|
||||
}
|
||||
else
|
||||
state = STATE::SECOND;
|
||||
|
||||
Reference in New Issue
Block a user