Kaynağa Gözat

More LPC P-string macros

Scott Lahteine 3 yıl önce
ebeveyn
işleme
b04914fb72
1 değiştirilmiş dosya ile 8 ekleme ve 0 silme
  1. 8
    0
      Marlin/src/HAL/LPC1768/HAL.h

+ 8
- 0
Marlin/src/HAL/LPC1768/HAL.h Dosyayı Görüntüle

@@ -212,3 +212,11 @@ inline void HAL_reboot() {}  // reboot the board or restart the bootloader
212 212
 #ifndef strcmp_P
213 213
   #define strcmp_P(a, b) strcmp((a), (b))
214 214
 #endif
215
+
216
+#ifndef strcat_P
217
+  #define strcat_P(a, b) strcat((a), (b))
218
+#endif
219
+
220
+#ifndef strcpy_P
221
+  #define strcpy_P(a, b) strcpy((a), (b))
222
+#endif

Loading…
İptal
Kaydet