Added a pragma message
if MQTT is disabled.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
177cad726f
commit
05aa6f7249
@ -1,7 +1,9 @@
|
|||||||
#include "my_mqtt.h"
|
#include "my_mqtt.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#ifdef MQTT_ENABLE
|
#ifndef MQTT_ENABLE
|
||||||
|
#pragma message "MQTT_ENABLE is false. Skipping MQTT."
|
||||||
|
#else
|
||||||
|
|
||||||
#include <ESP8266WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
#include <PubSubClient.h>
|
#include <PubSubClient.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user