|
@ -29,6 +29,7 @@ |
|
|
#undef M_PI // Redefined by all
|
|
|
#undef M_PI // Redefined by all
|
|
|
#undef _BV // Redefined by some
|
|
|
#undef _BV // Redefined by some
|
|
|
#undef sq // Redefined by teensy3/wiring.h
|
|
|
#undef sq // Redefined by teensy3/wiring.h
|
|
|
|
|
|
#undef vsnprintf_P // Defined by avr/pgmspace.h in some platforms
|
|
|
|
|
|
|
|
|
#include <Arduino.h> // NOTE: If included earlier then this line is a NOOP |
|
|
#include <Arduino.h> // NOTE: If included earlier then this line is a NOOP |
|
|
|
|
|
|
|
@ -41,6 +42,10 @@ |
|
|
#undef sq |
|
|
#undef sq |
|
|
#define sq(x) ((x)*(x)) |
|
|
#define sq(x) ((x)*(x)) |
|
|
|
|
|
|
|
|
|
|
|
#ifndef vsnprintf_P |
|
|
|
|
|
#define vsnprintf_P vsnprintf |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#ifndef SBI |
|
|
#ifndef SBI |
|
|
#define SBI(A,B) (A |= (1 << (B))) |
|
|
#define SBI(A,B) (A |= (1 << (B))) |
|
|
#endif |
|
|
#endif |
|
|