Commit 8b16d137 authored by Eric Duminil's avatar Eric Duminil
Browse files

Removing double spaces

parent 7b50b54d
Pipeline #5867 passed with stage
in 2 minutes and 35 seconds
......@@ -233,14 +233,14 @@ namespace web_config {
Serial.println(ssid);
strncpy(iotWebConf->getWifiSsidParameter()->valueBuffer, ssid, iotWebConf->getWifiSsidParameter()->getLength());
iotWebConf->saveConfig();
}, F(" name (Sets SSID to name)"));
}, F("name (Sets SSID to name)"));
sensor_console::defineStringCommand("pwd", [](char *ssid) {
Serial.print(F("Setting WiFi password to "));
Serial.println(ssid);
strncpy(iotWebConf->getWifiPasswordParameter()->valueBuffer, ssid, iotWebConf->getWifiPasswordParameter()->getLength());
iotWebConf->saveConfig();
}, F(" abc (Sets WiFi password to abc)"));
}, F("abc (Sets WiFi password to abc)"));
sensor_console::defineIntCommand("wifi", [](int32_t onOff) {
config::is_wifi_on = onOff;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment