forked from PaulStoffregen/Time
strcpy_P not needed for ESP8266/2.5.0-beta2 sdk
This commit is contained in:
1 parent
6d0fc5e6f9
commit
81b3192047
1 file changed
+2
@@ -17,10 +17,12 @@
|
||||
#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
|
||||
#ifndef strcpy_P
|
||||
#define strcpy_P(dest, src) strcpy((dest), (src))
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#include <string.h> // for strcpy_P or strcpy
|
||||
#include "TimeLib.h"
|
||||
|
||||
|
||||
Reference in new issue
Block a user