We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e655ab4 commit c49fa3dCopy full SHA for c49fa3d
src/ArduinoMqttClient.h
@@ -20,6 +20,14 @@
20
#ifndef _ARDUINO_MQTT_CLIENT_H_
21
#define _ARDUINO_MQTT_CLIENT_H_
22
23
+#if defined(__ZEPHYR__) && __ZEPHYR__ == 1 && defined(CONFIG_MQTT_LIB)
24
+#include "implementations/ZephyrMqttClient.h"
25
+
26
+using MqttClient = ZephyrMqttClient;
27
+#else
28
#include "MqttClient.h"
29
30
+using MqttClient = ArduinoMqttClient;
31
+#endif
32
33
#endif
0 commit comments