MQTT can now be disabled via MQTT_ENABLE
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
#include "my_mqtt.h"
|
||||
#include "config.h"
|
||||
|
||||
#ifdef MQTT_ENABLE
|
||||
|
||||
#include <ESP8266WiFi.h>
|
||||
#include <PubSubClient.h>
|
||||
#include "EffectEntry.h"
|
||||
@ -118,3 +121,5 @@ void mqtt_log_send(const char* message) {
|
||||
mqtt_client.publish(MQTT_TOPIC_LOG, message);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // MQTT_ENABLE
|
||||
|
Reference in New Issue
Block a user