Skip to content

Commit

Permalink
STRCHR_P for sensorcam
Browse files Browse the repository at this point in the history
  • Loading branch information
Asbelos committed Sep 23, 2024
1 parent 4aa353e commit 546ddd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FSH.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ typedef __FlashStringHelper FSH;
#define STRNCPY_P strncpy_P
#define STRNCMP_P strncmp_P
#define STRLEN_P strlen_P
#define STRCHR_P strchr_P

#if defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560)
// AVR_MEGA memory deliberately placed at end of link may need _far functions
Expand Down Expand Up @@ -98,5 +99,6 @@ typedef char FSH;
#define STRNCPY_P strncpy
#define STRNCMP_P strncmp
#define STRLEN_P strlen
#define STRCHR_P strchr
#endif
#endif

0 comments on commit 546ddd8

Please sign in to comment.