wifly/socket interface for wifly modules
Dependents: WiFi neurGAI_WIFI thingspeak thingspeak2
Diff: Socket/Socket.cpp
- Revision:
- 11:b912f91e3212
- Parent:
- 10:81445de1fe27
--- a/Socket/Socket.cpp Thu Aug 23 16:03:52 2012 +0000 +++ b/Socket/Socket.cpp Fri Aug 24 13:07:01 2012 +0000 @@ -22,7 +22,7 @@ Socket::Socket() : _blocking(true), _timeout(1500) { wifi = Wifly::getInstance(); if (wifi == NULL) - printf("Socket constructor error: no wifly instance available!\r\n"); + error("Socket constructor error: no wifly instance available!\r\n"); } void Socket::set_blocking(bool blocking, unsigned int timeout) {