1
0
mirror of https://github.com/revspace/operame synced 2024-12-04 21:57:30 +00:00

Remove redundant check.

Thanks, supakeen!
This commit is contained in:
Juerd Waalboer 2020-12-26 17:23:53 +01:00
parent 7b989eda31
commit 7be2c6368c

View File

@ -424,7 +424,6 @@ void loop() {
static Timer publish { static Timer publish {
mqtt_interval, mqtt_interval,
[] { [] {
if (!mqtt_enabled) return;
if (co2 <= 0) return; if (co2 <= 0) return;
connect_mqtt(); connect_mqtt();
String message = mqtt_template; String message = mqtt_template;