forked from PaulStoffregen/Time
Don't define strcpy_P if already defined
This commit is contained in:
1 parent
a8f9be7907
commit
8ac0830c1e
1 file changed
+2
@@ -17,8 +17,10 @@
|
||||
#define PGM_P const char *
|
||||
#define pgm_read_byte(addr) (*(const unsigned char *)(addr))
|
||||
#define pgm_read_word(addr) (*(const unsigned char **)(addr))
|
||||
#ifndef strcpy_P
|
||||
#define strcpy_P(dest, src) strcpy((dest), (src))
|
||||
#endif
|
||||
#endif
|
||||
#include <string.h> // for strcpy_P or strcpy
|
||||
#include "TimeLib.h"
|
||||
|
||||
|
||||
Reference in new issue
Block a user