Move vsnprintf_P to Marduino.h

This commit is contained in:
Scott Lahteine
2019-07-10 06:02:10 -05:00
parent f7de453da8
commit cf9ac4c847
4 changed files with 5 additions and 12 deletions

View File

@ -68,10 +68,6 @@
#define strncpy_P(dest, src, num) strncpy((dest), (src), (num))
#endif
#ifndef vsnprintf_P
#define vsnprintf_P vsnprintf
#endif
// Fix bug in pgm_read_ptr
#undef pgm_read_ptr
#define pgm_read_ptr(addr) (*((void**)(addr)))