mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-24 00:26: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
21136ed5b1
commit
3313211c90
4
FSH.h
4
FSH.h
|
@ -2,6 +2,10 @@
|
||||||
#define FSH_h
|
#define FSH_h
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#ifdef ARDUINO_ARCH_MEGAAVR
|
#ifdef 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