Browse Source

Enclose #error strings with apostrophes in quotes

Scott Lahteine 8 years ago
parent
commit
ea1dd31851
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/SanityCheck.h

+ 3
- 3
Marlin/SanityCheck.h View File

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…
Cancel
Save