summaryrefslogtreecommitdiff
path: root/platformio/temphum/src/mqtt.h
diff options
context:
space:
mode:
Diffstat (limited to 'platformio/temphum/src/mqtt.h')
-rw-r--r--platformio/temphum/src/mqtt.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/platformio/temphum/src/mqtt.h b/platformio/temphum/src/mqtt.h
index 38ed988..84df5b1 100644
--- a/platformio/temphum/src/mqtt.h
+++ b/platformio/temphum/src/mqtt.h
@@ -1,7 +1,12 @@
+#ifndef HOMEKIT_TEMPHUM_MQTT_H
+#define HOMEKIT_TEMPHUM_MQTT_H
+
#include <ESP8266WiFi.h>
#include <espMqttClient.h>
#include <Ticker.h>
-#include "stopwatch.h"
+
+#include <homekit/stopwatch.h>
+#include <homekit/mqtt.h>
namespace homekit { namespace mqtt {
@@ -104,4 +109,6 @@ struct OTAResponse {
uint8_t error_code;
} __attribute__((packed));
-} } \ No newline at end of file
+} }
+
+#endif //HOMEKIT_TEMPHUM_MQTT_H \ No newline at end of file