mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-24 21:21:24 +01:00
fix wifi setup issue
This commit is contained in:
parent
ba99de17bf
commit
46e0fcdc54
@ -251,8 +251,8 @@ wifiSerialState WifiInterface::setup2(const FSH* SSid, const FSH* password,
|
||||
}
|
||||
char macTail[]={macAddress[9],macAddress[10],macAddress[12],macAddress[13],macAddress[15],macAddress[16],'\0'};
|
||||
|
||||
while (wifiStream->available()) StringFormatter::printEscape( wifiStream->read()); /// THIS IS A DIAG IN DISGUISE
|
||||
|
||||
checkForOK(1000, OK_SEARCH, true, false); // suck up remainder of AT+CIFSR
|
||||
|
||||
i=0;
|
||||
do {
|
||||
if (strncmp_P(yourNetwork, (const char*)password, 13) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user