Remove redundant check.

Thanks, supakeen!
This commit is contained in:
Juerd Waalboer 2020-12-26 17:23:53 +01:00
parent 7b989eda31
commit 7be2c6368c
1 changed files with 0 additions and 1 deletions

View File

@ -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;