mirror of
https://github.com/revspace/operame
synced 2025-12-14 00:16:31 +00:00
Remove redundant check.
Thanks, supakeen!
This commit is contained in:
parent
7b989eda31
commit
7be2c6368c
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue