0527

Dependencies:   MQTT

Revision:
21:b2f2f6a840b4
Parent:
10:5b5beb106156
Child:
24:323569a565ec
diff -r 96a02c200c38 -r b2f2f6a840b4 main.cpp
--- a/main.cpp	Thu Jun 22 09:45:03 2017 +0100
+++ b/main.cpp	Thu Jun 22 10:30:04 2017 +0100
@@ -21,12 +21,16 @@
 #include "OdinWiFiInterface.h"
 OdinWiFiInterface wifi;
 
+#elif TARGET_REALTEK_RTL8195AM
+#include "RTWInterface.h"
+RTWInterface wifi;
+
 #else
 #if !TARGET_FF_ARDUINO
 #error [NOT_SUPPORTED] Only Arduino form factor devices are supported at this time
 #endif
+
 #include "ESP8266Interface.h"
-
 ESP8266Interface wifi(MBED_CONF_APP_WIFI_TX, MBED_CONF_APP_WIFI_RX);
 
 #endif