From e62f263e41ed9de70cf58a6868682da978a03968 Mon Sep 17 00:00:00 2001 From: Rahul Date: Sun, 19 Feb 2017 11:39:48 +0530 Subject: [PATCH] Updated Logging.cpp for %c token Issue : https://github.com/mrRobot62/Arduino-logging-library/wiki on running it on mega2560. Let me know for any side effects. --- Logging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logging.cpp b/Logging.cpp index aede239..5b6d3b3 100644 --- a/Logging.cpp +++ b/Logging.cpp @@ -87,7 +87,7 @@ void Logging::Verbose(char* msg, ...){ } if( *format == 'c' ) { - Serial.print(va_arg( args, int )); + Serial.print((char)va_arg( args, int )); continue; } if( *format == 't' ) {