mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
typo
This commit is contained in:
@@ -578,7 +578,7 @@ static void setup_commands(std::shared_ptr<Commands> & commands) {
|
|||||||
serializeJsonPretty(doc, shell);
|
serializeJsonPretty(doc, shell);
|
||||||
shell.println();
|
shell.println();
|
||||||
return;
|
return;
|
||||||
} else if (has_data) {
|
} else if (!has_data) {
|
||||||
// show message if no data returned (e.g. for analogsensor, temperaturesensor, custom)
|
// show message if no data returned (e.g. for analogsensor, temperaturesensor, custom)
|
||||||
shell.println("Command executed. Check log for messages.");
|
shell.println("Command executed. Check log for messages.");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user