瀏覽代碼

Enclose #error strings with apostrophes in quotes

Scott Lahteine 9 年之前
父節點
當前提交
ea1dd31851
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      Marlin/SanityCheck.h

+ 3
- 3
Marlin/SanityCheck.h 查看文件

240
    * Don't allow nonsense probe-pin settings
240
    * Don't allow nonsense probe-pin settings
241
    */
241
    */
242
   #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(Z_MIN_PROBE_ENDSTOP)
242
   #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(Z_MIN_PROBE_ENDSTOP)
243
-    #error You can't enable both Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN and Z_MIN_PROBE_ENDSTOP.
243
+    #error "You can't enable both Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN and Z_MIN_PROBE_ENDSTOP."
244
   #elif ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
244
   #elif ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
245
-    #error Don't enable DISABLE_Z_MIN_PROBE_ENDSTOP with Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN.
245
+    #error "Don't enable DISABLE_Z_MIN_PROBE_ENDSTOP with Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN."
246
   #elif ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_ENDSTOP)
246
   #elif ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_ENDSTOP)
247
     #error DISABLE_Z_MIN_PROBE_ENDSTOP requires Z_MIN_PROBE_ENDSTOP to be set.
247
     #error DISABLE_Z_MIN_PROBE_ENDSTOP requires Z_MIN_PROBE_ENDSTOP to be set.
248
   #endif
248
   #endif
252
    */
252
    */
253
   #if ENABLED(Z_MIN_PROBE_ENDSTOP)
253
   #if ENABLED(Z_MIN_PROBE_ENDSTOP)
254
     #if !HAS_Z_MIN_PROBE_PIN
254
     #if !HAS_Z_MIN_PROBE_PIN
255
-      #error Z_MIN_PROBE_ENDSTOP requires a Z_MIN_PROBE_PIN in your board's pins_XXXX.h file.
255
+      #error "Z_MIN_PROBE_ENDSTOP requires a Z_MIN_PROBE_PIN in your board's pins_XXXX.h file."
256
     #endif
256
     #endif
257
     // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment.
257
     // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment.
258
     //#ifndef NUM_SERVOS
258
     //#ifndef NUM_SERVOS

Loading…
取消
儲存