mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
minor text changes
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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_);
|
||||
|
||||
Reference in New Issue
Block a user