From 385feab6ef50095a1b4733bb74880b2ba0ba5f54 Mon Sep 17 00:00:00 2001 From: Joscha Feth Date: Wed, 27 Sep 2017 21:24:31 +1000 Subject: [PATCH] print chars as the actual character instead of their int counterpart --- ArduinoLog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduinoLog.cpp b/ArduinoLog.cpp index 3d993d5..cc7824d 100644 --- a/ArduinoLog.cpp +++ b/ArduinoLog.cpp @@ -118,7 +118,7 @@ void Logging::printFormat(const char format, va_list *args) { } if( format == 'c' ) { - _logOutput->print(va_arg( *args, int )); + _logOutput->print((char) va_arg( *args, int )); return; }