Skip to content

Commit 1e68cd9

Browse files
Fix: clearSuffix was clearing the prefix
Fix: clearSuffix was clearing the prefix instead of the suffix
1 parent 1079756 commit 1e68cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArduinoLog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void Logging::setSuffix(printfunction f)
9696
void Logging::clearSuffix()
9797
{
9898
#ifndef DISABLE_LOGGING
99-
_prefix = nullptr;
99+
_suffix = nullptr;
100100
#endif
101101
}
102102

0 commit comments

Comments
 (0)