Browse Source

PSTR alias followup (#20831)

vanilla_fb_2.0.x
Tanguy Pruvot 4 years ago
committed by Scott Lahteine
parent
commit
8d2f1851eb
  1. 2
      Marlin/src/HAL/shared/progmem.h

2
Marlin/src/HAL/shared/progmem.h

@ -101,7 +101,7 @@
#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))

Loading…
Cancel
Save