File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ class ws_networking_pico : public Wippersnapper {
112
112
113
113
// Was the network within secrets.json found?
114
114
for (int i = 0 ; i < n; ++i) {
115
- if (strcmp (_ssid, WiFi.SSID (i). c_str () ) == 0 ) {
115
+ if (strcmp (_ssid, WiFi.SSID (i)) == 0 ) {
116
116
WS_DEBUG_PRINT (" SSID (" );
117
117
WS_DEBUG_PRINT (_ssid);
118
118
WS_DEBUG_PRINT (" ) found! RSSI: " );
@@ -122,7 +122,7 @@ class ws_networking_pico : public Wippersnapper {
122
122
if (WS._isWiFiMulti ) {
123
123
// multi network mode
124
124
for (int j = 0 ; j < WS_MAX_ALT_WIFI_NETWORKS; j++) {
125
- if (strcmp (WS._multiNetworks [j].ssid , WiFi.SSID (i). c_str () ) == 0 ) {
125
+ if (strcmp (WS._multiNetworks [j].ssid , WiFi.SSID (i)) == 0 ) {
126
126
WS_DEBUG_PRINT (" SSID (" );
127
127
WS_DEBUG_PRINT (WS._multiNetworks [j].ssid );
128
128
WS_DEBUG_PRINT (" ) found! RSSI: " );
You can’t perform that action at this time.
0 commit comments