From 8b16d137d6fbb530a876d8f30e43727e53cfc074 Mon Sep 17 00:00:00 2001 From: Eric Duminil <eric.duminil@gmail.com> Date: Thu, 17 Feb 2022 14:01:23 +0100 Subject: [PATCH] Removing double spaces --- ampel-firmware/web_config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ampel-firmware/web_config.cpp b/ampel-firmware/web_config.cpp index e3066c0..a9fe125 100644 --- a/ampel-firmware/web_config.cpp +++ b/ampel-firmware/web_config.cpp @@ -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; -- GitLab