wifly/socket interface for wifly modules
Dependents: WiFi neurGAI_WIFI thingspeak thingspeak2
Diff: Socket/Endpoint.cpp
- Revision:
- 10:81445de1fe27
- Parent:
- 3:10b3866f0ea2
- Child:
- 11:b912f91e3212
--- a/Socket/Endpoint.cpp Thu Aug 23 15:18:48 2012 +0000 +++ b/Socket/Endpoint.cpp Thu Aug 23 16:03:52 2012 +0000 @@ -23,6 +23,8 @@ Endpoint::Endpoint() { wifly = Wifly::getInstance(); + if (wifly == NULL) + printf("Endpoint constructor error: no wifly instance available!\r\n"); reset_address(); } Endpoint::~Endpoint() {}