Skip to content

Commit e72a2fd

Browse files
author
jeroenst
committed
Solved Bug JoaoLopesF#54 (Minor Issue) Serial output always starts with [0m
1 parent 22f770f commit e72a2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RemoteDebug.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ size_t RemoteDebug::write(uint8_t character) {
11941194
if (noPrint == false) {
11951195

11961196
#ifdef COLOR_NEW_SYSTEM
1197-
_bufferPrint.concat(COLOR_RESET);
1197+
if (_showColors) _bufferPrint.concat(COLOR_RESET);
11981198
#endif
11991199
// Send to telnet or websocket (buffered)
12001200

0 commit comments

Comments
 (0)