From 516f7db78d1c29b36525a64a0a4324d809db89af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20K=C3=A4ppler?= <michael_kaeppler@web.de>
Date: Sun, 6 Jun 2021 21:25:17 +0200
Subject: [PATCH] Clarify documentation of `reset` command

The old wording 'sensor' for the whole controller can be
misleading.
---
 README.md               | 2 +-
 ampel-firmware/util.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 157f5a3..6d9f82e 100644
--- a/README.md
+++ b/README.md
@@ -85,7 +85,7 @@ In Arduino IDE *Serial Monitor* or PlatformIO *Monitor*, type `help` + <kbd>Ente
 * `lora 300` (Sets LoRaWAN sending interval, in s).
 * `mqtt 60` (Sets MQTT sending interval, in s).
 * `night_mode` (Toggles night mode on/off).
-* `reset` (Restarts the sensor).
+* `reset` (Restarts the ESP).
 * `reset_scd` (Resets SCD30).
 * `send_local_ip` (Sends local IP and SSID via MQTT. Can be useful to find sensor).
 * `set_time 1618829570` (Sets time to the given UNIX time).
diff --git a/ampel-firmware/util.cpp b/ampel-firmware/util.cpp
index 5fcb36c..27f23a7 100644
--- a/ampel-firmware/util.cpp
+++ b/ampel-firmware/util.cpp
@@ -85,7 +85,7 @@ Ampel::Ampel() :
   sensor_console::defineCommand("free", Ampel::showFreeSpace, F("(Displays available heap space)"));
   sensor_console::defineCommand("reset", []() {
     ESP.restart();
-  }, F("(Restarts the sensor)"));
+  }, F("(Restarts the ESP)"));
 }
 
 Ampel ampel;
-- 
GitLab