]> mj.ucw.cz Git - home-hw.git/commitdiff
ssrd: missing call to set_relays()
authorMartin Mares <mj@ucw.cz>
Sun, 12 Aug 2018 21:12:41 +0000 (23:12 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 12 Aug 2018 21:12:41 +0000 (23:12 +0200)
ssr/host/burrow-ssrd.c

index da650ad0c4ebbd55373f13e7c1e0ae8f5780405b..53042605ee7da81de84900f65fea1c84925fb8e8 100644 (file)
@@ -159,6 +159,7 @@ static void mqtt_msg_callback(struct mosquitto *mosq UNUSED, void *obj UNUSED, c
                ssr_state &= ~8U;
                if (x)
                        ssr_state |= 8;
+               set_relays();
        }
 }