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,9 +240,9 @@
240 240
    * Don't allow nonsense probe-pin settings
241 241
    */
242 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 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 246
   #elif ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_ENDSTOP)
247 247
     #error DISABLE_Z_MIN_PROBE_ENDSTOP requires Z_MIN_PROBE_ENDSTOP to be set.
248 248
   #endif
@@ -252,7 +252,7 @@
252 252
    */
253 253
   #if ENABLED(Z_MIN_PROBE_ENDSTOP)
254 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 256
     #endif
257 257
     // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment.
258 258
     //#ifndef NUM_SERVOS

Loading…
Cancel
Save