1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-24 00:26:13 +01:00

Teensy compiler errors

This commit is contained in:
Asbelos 2022-10-27 13:45:56 +01:00
parent 0f5ecef083
commit 61ec4690de

4
FSH.h
View File

@ -75,7 +75,7 @@ typedef char FSH;
#define GETFLASHW(addr) ((*(const unsigned int8_t *)(addr)) | ((*(const unsigned int8_t *)(addr+1)) << 8)) #define GETFLASHW(addr) ((*(const unsigned int8_t *)(addr)) | ((*(const unsigned int8_t *)(addr+1)) << 8))
#define GETHIGHFLASH(data,offset) GETFLASH(((byte*)data)+(offset)) #define GETHIGHFLASH(data,offset) GETFLASH(((byte*)data)+(offset))
#define GETHIGHFLASHW(data,offset) GETFLASHW(((byte*)data)+(offset)) #define GETHIGHFLASHW(data,offset) GETFLASHW(((byte*)data)+(offset))
#define strlen_P strlen //#define strlen_P strlen
#define strcpy_P strcpy //#define strcpy_P strcpy
#endif #endif
#endif #endif