From 546ddd81397687ba569e02c8a89cf51d953520a6 Mon Sep 17 00:00:00 2001 From: Asbelos Date: Mon, 23 Sep 2024 08:42:49 +0100 Subject: [PATCH] STRCHR_P for sensorcam --- FSH.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FSH.h b/FSH.h index cdda579..8610a6a 100644 --- a/FSH.h +++ b/FSH.h @@ -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 @@ -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