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:
parent
7b989eda31
commit
7be2c6368c
@ -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…
Reference in New Issue
Block a user