mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
Add files via upload
This commit is contained in:
parent
3620a87869
commit
99df0a39d7
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
|
||||||
|
@ -92,5 +93,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