|
|
@ -41,10 +41,6 @@
|
|
|
|
#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
|
|
|
@ -58,6 +54,10 @@
|
|
|
|
inline const char* strchr_P(const char *s, int c) { return strchr(s,c); }
|
|
|
|
inline const char* strchr_P(const char *s, int c) { return strchr(s,c); }
|
|
|
|
//#define strchr_P(s,c) strchr(s,c)
|
|
|
|
//#define strchr_P(s,c) strchr(s,c)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef vsnprintf_P
|
|
|
|
|
|
|
|
#define vsnprintf_P vsnprintf
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// Restart causes
|
|
|
|
// Restart causes
|
|
|
|