Add'l PLR options, AVR strstr_P compat (#13880)
This commit is contained in:
committed by
Scott Lahteine
parent
5dcb25664f
commit
11adcf1ce3
@ -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
|
||||
|
Reference in New Issue
Block a user