More LPC P-string macros
This commit is contained in:
parent
2ecb4fad72
commit
b04914fb72
|
@ -212,3 +212,11 @@ inline void HAL_reboot() {} // reboot the board or restart the bootloader
|
||||||
#ifndef strcmp_P
|
#ifndef strcmp_P
|
||||||
#define strcmp_P(a, b) strcmp((a), (b))
|
#define strcmp_P(a, b) strcmp((a), (b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef strcat_P
|
||||||
|
#define strcat_P(a, b) strcat((a), (b))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef strcpy_P
|
||||||
|
#define strcpy_P(a, b) strcpy((a), (b))
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue