Skip to content

Commit

Permalink
Merge pull request #704 from rnpnr/add-vprintf
Browse files Browse the repository at this point in the history
add Print::vprintf()
  • Loading branch information
PaulStoffregen committed May 15, 2023
2 parents c3d9dda + 5021ecb commit a1b1bff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions teensy4/Print.h
Expand Up @@ -156,6 +156,8 @@ class Print
int printf(const char *format, ...);
// printf is a C standard function which allows you to print any number of variables using a somewhat cryptic format string
int printf(const __FlashStringHelper *format, ...);
// vprintf is a C standard function that allows you to print a variable argument list with a format string
int vprintf(const char *format, va_list ap) { return vdprintf((int)this, format, ap); }

// format warnings are too pedantic - disable until newer toolchain offers better...
// https://forum.pjrc.com/threads/62473?p=256873&viewfull=1#post256873
Expand Down

0 comments on commit a1b1bff

Please sign in to comment.