From bac6b9e528f58b18e1fb2da99554f3c687b1f294 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Wed, 30 Jun 2021 19:59:12 +0200 Subject: [PATCH] Add HASP_USE_TELNET --- src/log/hasp_debug.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/log/hasp_debug.cpp b/src/log/hasp_debug.cpp index f367ec0a..52dd8217 100644 --- a/src/log/hasp_debug.cpp +++ b/src/log/hasp_debug.cpp @@ -278,8 +278,10 @@ void debugPrintSuffix(uint8_t tag, int level, Print* _logOutput) if(_logOutput == &Serial) { console_update_prompt(); +#if HASP_USE_TELNET > 0 } else { telnet_update_prompt(); +#endif } }