mirror of
https://github.com/PaulStoffregen/Time.git
synced 2025-07-29 21:57:13 +02:00
Update DateStrings.cpp
This now compiles on ESP platform v2.4.2 and v2.5.2 on Arduino IDE 1.8.9 and 1.9.0 beta. I've also uploaded to example to ESP8266 to double check and works fine.
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
#define PGM_P const char *
|
||||
#define pgm_read_byte(addr) (*(const unsigned char *)(addr))
|
||||
#define pgm_read_word(addr) (*(const unsigned char **)(addr))
|
||||
#ifndef ESP8266
|
||||
#ifdef ESP8266
|
||||
#ifndef strcpy_P
|
||||
#define strcpy_P(dest, src) strcpy((dest), (src))
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user