MQTT can now be disabled via MQTT_ENABLE
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
#ifndef my_mqtt_H
|
||||
#define my_mqtt_H
|
||||
#pragma once
|
||||
#include "config.h"
|
||||
|
||||
#ifdef MQTT_ENABLE
|
||||
|
||||
#include <PubSubClient.h>
|
||||
#include <Arduino.h>
|
||||
@ -27,4 +29,4 @@ void mqtt_log_send(const char* message);
|
||||
|
||||
extern String mqtt_log_str;
|
||||
|
||||
#endif // mqtt_H
|
||||
#endif // MQTT_ENABLE
|
||||
|
Reference in New Issue
Block a user