Sfoglia il codice sorgente

All compiling with -std=c++0x on Teensy 3.x

teensy4-core
PaulStoffregen 9 anni fa
parent
commit
96c8a911f3
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. +8
    -0
      teensy3/Print.cpp

+ 8
- 0
teensy3/Print.cpp Vedi File

@@ -88,14 +88,22 @@ int Print::printf(const char *format, ...)
{
va_list ap;
va_start(ap, format);
#ifdef __STRICT_ANSI__
return 0; // TODO: make this work with -std=c++0x
#else
return vdprintf((int)this, format, ap);
#endif
}

int Print::printf(const __FlashStringHelper *format, ...)
{
va_list ap;
va_start(ap, format);
#ifdef __STRICT_ANSI__
return 0;
#else
return vdprintf((int)this, (const char *)format, ap);
#endif
}

#ifdef __MKL26Z64__

Loading…
Annulla
Salva