Browse Source

PSTR alias followup (#20831)

vanilla_fb_2.0.x
Tanguy Pruvot 4 years ago
committed by GitHub
parent
commit
ef14b18f8e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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))
#endif
#ifndef strncpy_P
#define strncpy_P(a, b, n) strncmp((a), (b), (n))
#define strncpy_P(a, b, n) strncpy((a), (b), (n))
#endif
#ifndef strpbrk_P
#define strpbrk_P(str, chrs) strpbrk((str), (chrs))

Loading…
Cancel
Save