From: Martin Mares Date: Sun, 12 Aug 2018 21:12:41 +0000 (+0200) Subject: ssrd: missing call to set_relays() X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=94e41c58ddbfe49a41d06a58f9a6fc921a5608ac;p=home-hw.git ssrd: missing call to set_relays() --- diff --git a/ssr/host/burrow-ssrd.c b/ssr/host/burrow-ssrd.c index da650ad..5304260 100644 --- a/ssr/host/burrow-ssrd.c +++ b/ssr/host/burrow-ssrd.c @@ -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(); } }