mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-27 10:06:13 +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:
parent
ff81b4d1b4
commit
032b36ab45
4
FSH.h
4
FSH.h
|
@ -2,6 +2,10 @@
|
||||||
#define FSH_h
|
#define FSH_h
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#if defined(ARDUINO_ARCH_MEGAAVR)
|
#if defined(ARDUINO_ARCH_MEGAAVR)
|
||||||
|
#ifdef F
|
||||||
|
#undef F
|
||||||
|
#define F(str) (str)
|
||||||
|
#endif
|
||||||
typedef char FSH;
|
typedef char FSH;
|
||||||
#define GETFLASH(addr) (*(const unsigned char *)(addr))
|
#define GETFLASH(addr) (*(const unsigned char *)(addr))
|
||||||
#define FLASH
|
#define FLASH
|
||||||
|
|
Loading…
Reference in New Issue
Block a user