Add'l PLR options, AVR strstr_P compat (#13880)

This commit is contained in:
Tanguy Pruvot
2019-05-08 03:38:40 +02:00
committed by Scott Lahteine
parent 5dcb25664f
commit 11adcf1ce3
84 changed files with 345 additions and 169 deletions

View File

@ -48,3 +48,10 @@
#ifndef CBI
#define CBI(A,B) (A &= ~(1 << (B)))
#endif
#ifndef __AVR__
#ifndef strchr_P // Some platforms define a macro (DUE, teensy35)
inline const char* strchr_P(const char *s, int c) { return strchr(s,c); }
//#define strchr_P(s,c) strchr(s,c)
#endif
#endif