Browse Source

vsnprintf patch redux (#14725)

pull/1/head
Marcio Teixeira 5 years ago
committed by Scott Lahteine
parent
commit
1c3df51f87
  1. 8
      Marlin/src/HAL/shared/Marduino.h

8
Marlin/src/HAL/shared/Marduino.h

@ -41,10 +41,6 @@
#undef sq
#define sq(x) ((x)*(x))
#ifndef vsnprintf_P
#define vsnprintf_P vsnprintf
#endif
#ifndef SBI
#define SBI(A,B) (A |= (1 << (B)))
#endif
@ -58,6 +54,10 @@
inline const char* strchr_P(const char *s, int c) { return strchr(s,c); }
//#define strchr_P(s,c) strchr(s,c)
#endif
#ifndef vsnprintf_P
#define vsnprintf_P vsnprintf
#endif
#endif
// Restart causes

Loading…
Cancel
Save