mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix typo
This commit is contained in:
@@ -351,6 +351,7 @@ uint8_t Command::call(const uint8_t device_type, const char * cmd, const char *
|
|||||||
} else {
|
} else {
|
||||||
snprintf(info_s, sizeof(info_s), "'%s/%s'", dname, cmd);
|
snprintf(info_s, sizeof(info_s), "'%s/%s'", dname, cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (single_command) {
|
if (single_command) {
|
||||||
LOG_DEBUG(("%sCalling command %s"), ro.c_str(), info_s);
|
LOG_DEBUG(("%sCalling command %s"), ro.c_str(), info_s);
|
||||||
} else {
|
} else {
|
||||||
@@ -542,7 +543,7 @@ void Command::show(uuid::console::Shell & shell, uint8_t device_type, bool verbo
|
|||||||
// verbose mode
|
// verbose mode
|
||||||
shell.printfln("\n%s%s %s:%s", COLOR_BOLD_ON, COLOR_YELLOW, EMSdevice::device_type_2_device_name(device_type), COLOR_RESET);
|
shell.printfln("\n%s%s %s:%s", COLOR_BOLD_ON, COLOR_YELLOW, EMSdevice::device_type_2_device_name(device_type), COLOR_RESET);
|
||||||
|
|
||||||
// we hard code 'info' and 'commmands' commands so print them first
|
// we hard code 'info' and 'commands' commands so print them first
|
||||||
if (show_info) {
|
if (show_info) {
|
||||||
shell.printf(" info:\t\t\t\t%slists all values %s*", COLOR_BRIGHT_CYAN, COLOR_BRIGHT_GREEN);
|
shell.printf(" info:\t\t\t\t%slists all values %s*", COLOR_BRIGHT_CYAN, COLOR_BRIGHT_GREEN);
|
||||||
shell.println(COLOR_RESET);
|
shell.println(COLOR_RESET);
|
||||||
|
|||||||
Reference in New Issue
Block a user