mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-23 08:06:13 +01:00
Fixed Arduino
This commit is contained in:
parent
ae2bbbf668
commit
b3251e89d7
|
@ -297,7 +297,7 @@ wifiSerialState WifiInterface::setup2(const FSH* SSid, const FSH* password,
|
||||||
macTail, password, channel);
|
macTail, password, channel);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
StringFormatter::send(wifiStream, F("AT+CWSAP%s=\"%s\",\"%s\",%d,4\r\n"),
|
StringFormatter::send(wifiStream, F("AT+CWSAP%s=\"%S\",\"%S\",%d,4\r\n"),
|
||||||
oldCmd ? "" : "_CUR", SSid, password, channel);
|
oldCmd ? "" : "_CUR", SSid, password, channel);
|
||||||
}
|
}
|
||||||
} while (!checkForOK(WIFI_CONNECT_TIMEOUT, true) && i++<2); // do twice if necessary but ignore failure as AP mode may still be ok
|
} while (!checkForOK(WIFI_CONNECT_TIMEOUT, true) && i++<2); // do twice if necessary but ignore failure as AP mode may still be ok
|
||||||
|
|
Loading…
Reference in New Issue
Block a user