Added a `pragma message` if MQTT is disabled.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
177cad726f
commit
05aa6f7249
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue