now this shit works

Dependencies:   BufferedSerial

Dependents:   IoTWeatherStation

Fork of ESP8266NodeMCUInterface by ESP8266

Revision:
13:41098c907200
Parent:
1:fb4494783863
Child:
21:690526f05fe6
--- a/Socket/Socket.cpp	Wed Oct 08 19:57:58 2014 +0000
+++ b/Socket/Socket.cpp	Sun Nov 30 21:14:09 2014 +0000
@@ -20,9 +20,9 @@
 #include <cstring>
 
 Socket::Socket() : _blocking(true), _timeout(1500) {
-    wifi = Wifly::getInstance();
+    wifi = ESP8266::getInstance();
     if (wifi == NULL)
-        error("Socket constructor error: no wifly instance available!\r\n");
+        error("Socket constructor error: no ESP8266 instance available!\r\n");
 }
 
 void Socket::set_blocking(bool blocking, unsigned int timeout) {