Skip to content

Commit 15cb730

Browse files
authored
Merge pull request mrRobot62#4 from thijse/joscha/chars
print chars as the actual character instead of their int counterpart
2 parents 1fb0b46 + 385feab commit 15cb730

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
@@ -118,7 +118,7 @@ void Logging::printFormat(const char format, va_list *args) {
118118
}
119119

120120
if( format == 'c' ) {
121-
_logOutput->print(va_arg( *args, int ));
121+
_logOutput->print((char) va_arg( *args, int ));
122122
return;
123123
}
124124

0 commit comments

Comments
 (0)