From 99cb7bc033d1dc410e4a5cd17b74c8cce9f8b3ff Mon Sep 17 00:00:00 2001 From: Gregor Riepl Date: Mon, 18 Jan 2021 12:44:57 +0100 Subject: [PATCH] Send out status after firing a relay --- poweriface/firmware/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/poweriface/firmware/main.c b/poweriface/firmware/main.c index ac65add..5cfcab5 100644 --- a/poweriface/firmware/main.c +++ b/poweriface/firmware/main.c @@ -134,6 +134,8 @@ static void loop() { case 0x21: if (msg.length == 1) { fire_relay(msg.data[0]); + // also send out the current status + send_status(); } } }