Skip to content

Commit 27315db

Browse files
committed
fix compile issue in wifiscan
1 parent 5684d79 commit 27315db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/WiFi/src/WiFiScan.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ String WiFiScanClass::SSID(uint8_t i)
192192
{
193193
wifi_ap_list_t* it = reinterpret_cast<wifi_ap_list_t*>(_getScanInfoByIndex(i));
194194
if(!it) {
195-
return 0;
195+
return "";
196196
}
197197
return String(reinterpret_cast<const char*>(it->ssid));
198198
}

0 commit comments

Comments
 (0)