Skip to content

Commit

Permalink
More LPC P-string macros
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored and RFBomb committed Dec 23, 2020
1 parent db50bce commit 4733fd3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Marlin/src/HAL/LPC1768/HAL.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,3 +212,11 @@ inline void HAL_reboot() {} // reboot the board or restart the bootloader
#ifndef strcmp_P
#define strcmp_P(a, b) strcmp((a), (b))
#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

0 comments on commit 4733fd3

Please sign in to comment.