File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ class Wippersnapper_ESP32 : public Wippersnapper {
281
281
// add default network
282
282
_wifiMulti.addAP (_ssid, _pass);
283
283
// add array of alternative networks
284
- for (int i = 0 ; i < 5 ; i++) {
284
+ for (int i = 0 ; i < 3 ; i++) {
285
285
if (strlen (WS._multiNetworks [i].ssid ) > 0 ) {
286
286
_wifiMulti.addAP (WS._multiNetworks [i].ssid ,
287
287
WS._multiNetworks [i].pass );
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ class Wippersnapper_ESP8266 : public Wippersnapper {
138
138
for (int i = 0 ; i < n; ++i) {
139
139
if (strlen (WS._multiNetworks [0 ].ssid ) > 0 ) {
140
140
// multi network mode
141
- for (int j = 0 ; j < 5 ; j++) {
141
+ for (int j = 0 ; j < 3 ; j++) {
142
142
if (strcmp (WS._multiNetworks [j].ssid , WiFi.SSID (i).c_str ()) == 0 )
143
143
return true ;
144
144
}
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ class ws_networking_pico : public Wippersnapper {
110
110
for (int i = 0 ; i < n; ++i) {
111
111
if (strlen (WS._multiNetworks [0 ].ssid ) > 0 ) {
112
112
// multi network mode
113
- for (int j = 0 ; j < 5 ; j++) {
113
+ for (int j = 0 ; j < 3 ; j++) {
114
114
if (strcmp (WS._multiNetworks [j].ssid , WiFi.SSID (i)) == 0 )
115
115
return true ;
116
116
}
You can’t perform that action at this time.
0 commit comments