1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00

Add the F define to be on safe side if it is not present in the library core code

This commit is contained in:
Harald Barth 2021-01-23 22:07:28 +01:00
parent ff81b4d1b4
commit 032b36ab45

4
FSH.h
View File

@ -2,6 +2,10 @@
#define FSH_h
#include <Arduino.h>
#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