minor text changes

This commit is contained in:
proddy
2020-06-04 11:04:51 +02:00
parent 5fdb3d6396
commit ffff17fce1
2 changed files with 2 additions and 2 deletions

View File

@@ -369,7 +369,7 @@ void Mqtt::show_topic_handlers(uuid::console::Shell & shell, const uint8_t devic
return; return;
} }
shell.print(F(" These MQTT topics are registered: ")); shell.print(F(" Subscribed MQTT topics: "));
for (const auto & mqtt_function : mqtt_functions_) { for (const auto & mqtt_function : mqtt_functions_) {
if (mqtt_function.device_id_ == device_id) { if (mqtt_function.device_id_ == device_id) {
shell.printf(F("%s "), mqtt_function.topic_.c_str()); shell.printf(F("%s "), mqtt_function.topic_.c_str());

View File

@@ -144,7 +144,7 @@ void System::start() {
// register MQTT system commands // register MQTT system commands
Mqtt::subscribe("cmd", std::bind(&System::mqtt_commands, this, _1)); 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) #if defined(ESP8266)
state_.registerVar(&reset_counter_); // we send a pointer to each of our variables state_.registerVar(&reset_counter_); // we send a pointer to each of our variables
state_.registerVar(&safe_mode_); state_.registerVar(&safe_mode_);