Added a pragma message if MQTT is disabled.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Fabian Schlenz 2019-06-06 06:51:07 +02:00
parent 177cad726f
commit 05aa6f7249

View File

@ -1,7 +1,9 @@
#include "my_mqtt.h"
#include "config.h"
#ifdef MQTT_ENABLE
#ifndef MQTT_ENABLE
#pragma message "MQTT_ENABLE is false. Skipping MQTT."
#else
#include <ESP8266WiFi.h>
#include <PubSubClient.h>