From ffff17fce1e7b2df8e6ebc13f9762a6fffe12a72 Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 4 Jun 2020 11:04:51 +0200 Subject: [PATCH] minor text changes --- src/mqtt.cpp | 2 +- src/system.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mqtt.cpp b/src/mqtt.cpp index e14acc1b8..5954bb79b 100644 --- a/src/mqtt.cpp +++ b/src/mqtt.cpp @@ -369,7 +369,7 @@ void Mqtt::show_topic_handlers(uuid::console::Shell & shell, const uint8_t devic return; } - shell.print(F(" These MQTT topics are registered: ")); + shell.print(F(" Subscribed MQTT topics: ")); for (const auto & mqtt_function : mqtt_functions_) { if (mqtt_function.device_id_ == device_id) { shell.printf(F("%s "), mqtt_function.topic_.c_str()); diff --git a/src/system.cpp b/src/system.cpp index d9dc6e478..b577584e2 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -144,7 +144,7 @@ void System::start() { // register MQTT system commands Mqtt::subscribe("cmd", std::bind(&System::mqtt_commands, this, _1)); -// RTC state variables - onky for ESP8266 +// RTC state variables - only for ESP8266 #if defined(ESP8266) state_.registerVar(&reset_counter_); // we send a pointer to each of our variables state_.registerVar(&safe_mode_);