From 64d4e4a2ac78909c1a7acce13099957076c3db93 Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 17 Sep 2024 14:12:52 +0200 Subject: [PATCH] remove duplicate ctrl-c prompt --- src/emsesp.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/emsesp.cpp b/src/emsesp.cpp index 0bb86b473..575a07211 100644 --- a/src/emsesp.cpp +++ b/src/emsesp.cpp @@ -1692,14 +1692,13 @@ void EMSESP::loop() { static bool show_prompt = true; // user has to ctrl-c to create a serial console stream, exit command will close it - // this is to save around 2kb of heap memory + // this saves around 2kb of heap memory if (shell_) { if (!shell_->running()) { shell_.reset(); #ifdef EMSESP_STANDALONE ::exit(0); // kill session #endif - shell_prompt(); } } else { if (show_prompt) {