1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-25 09:06:13 +01:00

Compare commits

..

No commits in common. "dfba6c6fc13ef8e3b0eb7c3521b3ff0aa8274a5f" and "ec6e730559f3af3268dc22b6d44a31e62a03edd9" have entirely different histories.

2 changed files with 1 additions and 9 deletions

View File

@ -1 +1 @@
#define GITHUB_SHA "devel-202306231154Z" #define GITHUB_SHA "devel-202306222129Z"

View File

@ -106,12 +106,6 @@ void wifiLoop(void *){
} }
#endif #endif
char asciitolower(char in) {
if (in <= 'Z' && in >= 'A')
return in - ('Z' - 'z');
return in;
}
bool WifiESP::setup(const char *SSid, bool WifiESP::setup(const char *SSid,
const char *password, const char *password,
const char *hostname, const char *hostname,
@ -189,8 +183,6 @@ bool WifiESP::setup(const char *SSid,
strMac.remove(0,9); strMac.remove(0,9);
strMac.replace(":",""); strMac.replace(":","");
strMac.replace(":",""); strMac.replace(":","");
// convert mac addr hex chars to lower case to be compatible with AT software
std::transform(strMac.begin(), strMac.end(), strMac.begin(), asciitolower);
strSSID.concat(strMac); strSSID.concat(strMac);
strPass.concat(strMac); strPass.concat(strMac);