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 zillarob committed Feb 25, 2021
1 parent 92dcc4a commit eadf72f
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 eadf72f

Please sign in to comment.