From 937e4890f720a4769aeeed3a3e616720fe44b1af Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 11 Jul 2024 17:02:23 +0200 Subject: [PATCH] fix typo --- src/analogsensor.cpp | 2 +- src/command.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/analogsensor.cpp b/src/analogsensor.cpp index 0298dc7a5..3ad79041e 100644 --- a/src/analogsensor.cpp +++ b/src/analogsensor.cpp @@ -643,7 +643,7 @@ void AnalogSensor::publish_values(const bool force) { // called from emsesp.cpp for commands // searches sensor by name bool AnalogSensor::get_value_info(JsonObject output, const char * cmd, const int8_t id) { - // check of it a 'commmands' command + // check of it a 'commands' command if (Helpers::toLower(cmd) == F_(commands)) { return Command::list(EMSdevice::DeviceType::ANALOGSENSOR, output); } diff --git a/src/command.cpp b/src/command.cpp index 70226ad70..ea4544dc0 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -646,7 +646,7 @@ void Command::show_devices(uuid::console::Shell & shell) { shell.println(); } -// 'show commmands' : output list of all commands to console +// 'show commands' : output list of all commands to console // calls show with verbose mode set void Command::show_all(uuid::console::Shell & shell) { shell.printfln("Showing all available commands (%s*%s=authentication not required):", COLOR_BRIGHT_GREEN, COLOR_RESET);