From 7be2c6368c415ded3ebd1d660fc19a16da6fb2ab Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Sat, 26 Dec 2020 17:23:53 +0100 Subject: [PATCH] Remove redundant check. Thanks, supakeen! --- operame.ino | 1 - 1 file changed, 1 deletion(-) diff --git a/operame.ino b/operame.ino index 5820674..8db526a 100644 --- a/operame.ino +++ b/operame.ino @@ -424,7 +424,6 @@ void loop() { static Timer publish { mqtt_interval, [] { - if (!mqtt_enabled) return; if (co2 <= 0) return; connect_mqtt(); String message = mqtt_template;