mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
STRCHR_P for sensorcam
This commit is contained in:
parent
4aa353edbc
commit
546ddd8139
2
FSH.h
2
FSH.h
|
@ -52,6 +52,7 @@ typedef __FlashStringHelper FSH;
|
||||||
#define STRNCPY_P strncpy_P
|
#define STRNCPY_P strncpy_P
|
||||||
#define STRNCMP_P strncmp_P
|
#define STRNCMP_P strncmp_P
|
||||||
#define STRLEN_P strlen_P
|
#define STRLEN_P strlen_P
|
||||||
|
#define STRCHR_P strchr_P
|
||||||
|
|
||||||
#if defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560)
|
#if defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560)
|
||||||
// AVR_MEGA memory deliberately placed at end of link may need _far functions
|
// AVR_MEGA memory deliberately placed at end of link may need _far functions
|
||||||
|
@ -98,5 +99,6 @@ typedef char FSH;
|
||||||
#define STRNCPY_P strncpy
|
#define STRNCPY_P strncpy
|
||||||
#define STRNCMP_P strncmp
|
#define STRNCMP_P strncmp
|
||||||
#define STRLEN_P strlen
|
#define STRLEN_P strlen
|
||||||
|
#define STRCHR_P strchr
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user