From 032b36ab45092a346db985c0122146c3d4819808 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sat, 23 Jan 2021 22:07:28 +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 089216a..fe11938 100644 --- a/FSH.h +++ b/FSH.h @@ -2,6 +2,10 @@ #define FSH_h #include #if defined(ARDUINO_ARCH_MEGAAVR) +#ifdef F +#undef F +#define F(str) (str) +#endif typedef char FSH; #define GETFLASH(addr) (*(const unsigned char *)(addr)) #define FLASH