From eac5dd243b9968aff7cd4bab052844755c05d5e6 Mon Sep 17 00:00:00 2001
From: Marcel Peterkau <marcel@peterkau.de>
Date: Fri, 12 Jan 2024 19:52:25 +0100
Subject: [PATCH] fixed missed \n in Debug Messages

---
 Software/src/can.cpp   | 2 +-
 Software/src/main.cpp  | 2 +-
 Software/src/webui.cpp | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Software/src/can.cpp b/Software/src/can.cpp
index 05097a6..68278a1 100644
--- a/Software/src/can.cpp
+++ b/Software/src/can.cpp
@@ -182,7 +182,7 @@ void sendCANDebugMessage()
     }
     else if (DebugSendFailTimeout == MAX_DEBUG_RETRIES)
     {
-        Debug_pushMessage("disable CAN-DbgMsg due to timeout");
+        Debug_pushMessage("disable CAN-DbgMsg due to timeout\n");
         DebugSendFailTimeout++;
     }
 }
diff --git a/Software/src/main.cpp b/Software/src/main.cpp
index 5fdf366..aa86c96 100644
--- a/Software/src/main.cpp
+++ b/Software/src/main.cpp
@@ -332,7 +332,7 @@ void wifiMaintainConnectionTicker_callback()
     else
     {
       // Trigger AP mode if the maximum failures are reached
-      Debug_pushMessage("WiFi not connected! - Start AP");
+      Debug_pushMessage("WiFi not connected! - Start AP\n");
       toggleWiFiAP();
     }
   }
diff --git a/Software/src/webui.cpp b/Software/src/webui.cpp
index 1357158..643a66d 100644
--- a/Software/src/webui.cpp
+++ b/Software/src/webui.cpp
@@ -198,7 +198,7 @@ void WebserverFirmwareUpdate_Callback(AsyncWebServerRequest *request, const Stri
 
   if (!index)
   {
-    Debug_pushMessage("Update");
+    Debug_pushMessage("Update\n");
     size_t content_len = request->contentLength();
     int cmd = (filename.indexOf(".fs") > -1) ? U_FS : U_FLASH;
     Update.runAsync(true);
@@ -266,7 +266,7 @@ void WebserverEERestore_Callback(AsyncWebServerRequest *request, const String &f
       buffer = (char *)malloc(1536);
       read_ptr = 0;
       if (buffer == NULL)
-        Debug_pushMessage("malloc() failed for EEPROM-Restore");
+        Debug_pushMessage("malloc() failed for EEPROM-Restore\n");
     }
   }
 
@@ -328,7 +328,7 @@ void WebserverEERestore_Callback(AsyncWebServerRequest *request, const String &f
 
     if (ee_done)
     {
-      Debug_pushMessage("Update complete");
+      Debug_pushMessage("Update complete\n");
       globals.systemStatus = sysStat_Shutdown;
     }
   }