Quellcode durchsuchen

Add windows line ending to log files

This is done so the default PuTTY settings line break correctly.
Morio vor 2 Jahren
Ursprung
Commit
4150b7e68b
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/ZuluSCSI_log.h

+ 2 - 2
src/ZuluSCSI_log.h

@@ -84,7 +84,7 @@ inline void logmsg(Params... params)
 {
     log_raw("[", (int)millis(), "ms] ");
     log_raw(params...);
-    log_raw("\n");
+    log_raw("\r\n");
 }
 
 // Format a complete debug message
@@ -95,6 +95,6 @@ inline void dbgmsg(Params... params)
     {
         log_raw("[", (int)millis(), "ms] DBG ");
         log_raw(params...);
-        log_raw("\n");
+        log_raw("\r\n");
     }
 }