From 3313211c90b48438e28d28373d136652c4963127 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sat, 23 Jan 2021 21:52:10 +0100 Subject: [PATCH] Add the F define to be on safe side if it is not present in the library core code --- FSH.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FSH.h b/FSH.h index f8c0f87..21df20c 100644 --- a/FSH.h +++ b/FSH.h @@ -2,6 +2,10 @@ #define FSH_h #include #ifdef ARDUINO_ARCH_MEGAAVR +#ifdef F +#undef F +#define F(str) (str) +#endif typedef char FSH; #define GETFLASH(addr) (*(const unsigned char *)(addr)) #define FLASH