Skip to content

Commit

Permalink
add unsigned long format capability
Browse files Browse the repository at this point in the history
  • Loading branch information
1technophile committed Feb 9, 2020
1 parent 6843026 commit 39b0916
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ArduinoLog.cpp
Expand Up @@ -169,6 +169,10 @@ void Logging::printFormat(const char format, va_list *args) {
{
_logOutput->print(va_arg(*args, long), DEC);
}
else if (format == 'u')
{
_logOutput->print(va_arg(*args, unsigned long), DEC);
}
else if (format == 'c')
{
_logOutput->print((char) va_arg(*args, int));
Expand Down

0 comments on commit 39b0916

Please sign in to comment.