Khakimov Rishat
/
Kurs
87ty78ot7iyu
Diff: main.cpp
- Revision:
- 72:b4761c52cc91
- Parent:
- 71:a0fbcc153b55
- Child:
- 74:af086eac5e99
--- a/main.cpp Tue Jul 24 15:15:02 2018 +0100 +++ b/main.cpp Thu Jul 26 13:00:03 2018 +0100 @@ -169,6 +169,10 @@ #endif wifi = WiFiInterface::get_default_instance(); + if (!wifi) { + printf("ERROR: No WiFiInterface found.\n"); + return -1; + } count = scan_demo(wifi); if (count == 0) {