Fixed strncpy_P macro

This commit is contained in:
Kristian Sloth Lauszus 2019-04-05 18:25:33 +02:00
parent 148cf2629f
commit 0ecc486fee

View file

@ -118,7 +118,7 @@ e-mail : support@circuitsathome.com
#define strncat_P(a, b, n) strncat((a), (b), (n)) #define strncat_P(a, b, n) strncat((a), (b), (n))
#endif #endif
#ifndef strncpy_P #ifndef strncpy_P
#define strncpy_P(a, b, n) strncmp((a), (b), (n)) #define strncpy_P(a, b, n) strncpy((a), (b), (n))
#endif #endif
#ifndef strpbrk_P #ifndef strpbrk_P
#define strpbrk_P(str, chrs) strpbrk((str), (chrs)) #define strpbrk_P(str, chrs) strpbrk((str), (chrs))