Browse Source

Add files via upload

pull/1080/head
oberfritze 2 years ago
committed by GitHub
parent
commit
3ad302b66f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/publisher/pubMqtt.h
  2. 3
      src/publisher/pubMqttDefs.h

3
src/publisher/pubMqtt.h

@ -8,6 +8,8 @@
#ifndef __PUB_MQTT_H__
#define __PUB_MQTT_H__
#ifdef AHOY_MQTT_SUPPORT
#ifdef ESP8266
#include <ESP8266WiFi.h>
#elif defined(ESP32)
@ -675,5 +677,6 @@ class PubMqtt {
char mVal[40];
discovery_t mDiscovery;
};
#endif
#endif /*__PUB_MQTT_H__*/

3
src/publisher/pubMqttDefs.h

@ -6,6 +6,8 @@
#ifndef __PUB_MQTT_DEFS_H__
#define __PUB_MQTT_DEFS_H__
#ifdef AHOY_MQTT_SUPPORT
#include <Arduino.h>
enum {
@ -92,5 +94,6 @@ enum {
const char* const subscr[] PROGMEM = {
"setup/set_time"
};
#endif
#endif /*__PUB_MQTT_DEFS_H__*/

Loading…
Cancel
Save