Browse Source

Consistent punctuation in SanityCheck errors (PR#2283)

Scott Lahteine 10 years ago
parent
commit
6b1b3adaf0
1 changed files with 24 additions and 24 deletions
  1. 24
    24
      Marlin/SanityCheck.h

+ 24
- 24
Marlin/SanityCheck.h View File

@@ -96,13 +96,13 @@
96 96
    */
97 97
   #ifdef MESH_BED_LEVELING
98 98
     #ifdef DELTA
99
-      #error MESH_BED_LEVELING does not yet support DELTA printers
99
+      #error MESH_BED_LEVELING does not yet support DELTA printers.
100 100
     #endif
101 101
     #ifdef ENABLE_AUTO_BED_LEVELING
102
-      #error Select ENABLE_AUTO_BED_LEVELING or MESH_BED_LEVELING, not both
102
+      #error Select ENABLE_AUTO_BED_LEVELING or MESH_BED_LEVELING, not both.
103 103
     #endif
104 104
     #if MESH_NUM_X_POINTS > 7 || MESH_NUM_Y_POINTS > 7
105
-      #error MESH_NUM_X_POINTS and MESH_NUM_Y_POINTS need to be less than 8
105
+      #error MESH_NUM_X_POINTS and MESH_NUM_Y_POINTS need to be less than 8.
106 106
     #endif
107 107
   #endif
108 108
 
@@ -129,23 +129,23 @@
129 129
      */
130 130
     #if defined(Z_PROBE_ENDSTOP)
131 131
       #ifndef Z_PROBE_PIN
132
-        #error You must have a Z_PROBE_PIN defined in your pins_XXXX.h file if you enable Z_PROBE_ENDSTOP
132
+        #error You must have a Z_PROBE_PIN defined in your pins_XXXX.h file if you enable Z_PROBE_ENDSTOP.
133 133
       #endif
134 134
       #if Z_PROBE_PIN == -1
135
-        #error You must set Z_PROBE_PIN to a valid pin if you enable Z_PROBE_ENDSTOP
135
+        #error You must set Z_PROBE_PIN to a valid pin if you enable Z_PROBE_ENDSTOP.
136 136
       #endif
137 137
 // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment.
138 138
 //      #ifndef NUM_SERVOS
139
-//        #error You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_PROBE_ENDSTOP
139
+//        #error You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_PROBE_ENDSTOP.
140 140
 //      #endif
141 141
 //      #if defined(NUM_SERVOS) && NUM_SERVOS < 1
142
-//        #error You must have at least 1 servo defined for NUM_SERVOS to use Z_PROBE_ENDSTOP
142
+//        #error You must have at least 1 servo defined for NUM_SERVOS to use Z_PROBE_ENDSTOP.
143 143
 //      #endif
144 144
 //      #ifndef SERVO_ENDSTOPS
145
-//        #error You must have SERVO_ENDSTOPS defined and have the Z index set to at least 0 or above to use Z_PROBE_ENDSTOP
145
+//        #error You must have SERVO_ENDSTOPS defined and have the Z index set to at least 0 or above to use Z_PROBE_ENDSTOP.
146 146
 //      #endif
147 147
 //      #ifndef SERVO_ENDSTOP_ANGLES
148
-//        #error You must have SERVO_ENDSTOP_ANGLES defined for Z Extend and Retract to use Z_PROBE_AND_ENSTOP
148
+//        #error You must have SERVO_ENDSTOP_ANGLES defined for Z Extend and Retract to use Z_PROBE_ENDSTOP.
149 149
 //      #endif
150 150
     #endif
151 151
     /**
@@ -176,7 +176,7 @@
176 176
         #define X_PROBE_ERROR
177 177
       #endif
178 178
       #ifdef X_PROBE_ERROR
179
-        #error The X axis probing range is too small to fit all the points defined in AUTO_BED_LEVELING_GRID_POINTS
179
+        #error The X axis probing range is too small to fit all the points defined in AUTO_BED_LEVELING_GRID_POINTS.
180 180
       #endif
181 181
       #if Y_PROBE_OFFSET_FROM_EXTRUDER < 0
182 182
         #if PROBE_SIZE_Y <= -PROBE_AREA_DEPTH
@@ -186,7 +186,7 @@
186 186
         #define Y_PROBE_ERROR
187 187
       #endif
188 188
       #ifdef Y_PROBE_ERROR
189
-        #error The Y axis probing range is too small to fit all the points defined in AUTO_BED_LEVELING_GRID_POINTS
189
+        #error The Y axis probing range is too small to fit all the points defined in AUTO_BED_LEVELING_GRID_POINTS.
190 190
       #endif
191 191
 
192 192
       #undef PROBE_SIZE_X
@@ -272,18 +272,18 @@
272 272
    */
273 273
   #if HAS_AUTO_FAN && HAS_FAN
274 274
     #if EXTRUDER_0_AUTO_FAN_PIN == FAN_PIN
275
-      #error You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to FAN_PIN
275
+      #error You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to FAN_PIN.
276 276
     #elif EXTRUDER_1_AUTO_FAN_PIN == FAN_PIN
277
-      #error You cannot set EXTRUDER_1_AUTO_FAN_PIN equal to FAN_PIN
277
+      #error You cannot set EXTRUDER_1_AUTO_FAN_PIN equal to FAN_PIN.
278 278
     #elif EXTRUDER_2_AUTO_FAN_PIN == FAN_PIN
279
-      #error You cannot set EXTRUDER_2_AUTO_FAN_PIN equal to FAN_PIN
279
+      #error You cannot set EXTRUDER_2_AUTO_FAN_PIN equal to FAN_PIN.
280 280
     #elif EXTRUDER_3_AUTO_FAN_PIN == FAN_PIN
281
-      #error You cannot set EXTRUDER_3_AUTO_FAN_PIN equal to FAN_PIN
281
+      #error You cannot set EXTRUDER_3_AUTO_FAN_PIN equal to FAN_PIN.
282 282
     #endif
283 283
   #endif
284 284
 
285 285
   #if HAS_FAN && CONTROLLERFAN_PIN == FAN_PIN
286
-    #error You cannot set CONTROLLERFAN_PIN equal to FAN_PIN
286
+    #error You cannot set CONTROLLERFAN_PIN equal to FAN_PIN.
287 287
   #endif
288 288
 
289 289
   /**
@@ -291,38 +291,38 @@
291 291
    */
292 292
   #if EXTRUDERS > 3
293 293
     #if !HAS_HEATER_3
294
-      #error HEATER_3_PIN not defined for this board
294
+      #error HEATER_3_PIN not defined for this board.
295 295
     #endif
296 296
   #elif EXTRUDERS > 2
297 297
     #if !HAS_HEATER_2
298
-      #error HEATER_2_PIN not defined for this board
298
+      #error HEATER_2_PIN not defined for this board.
299 299
     #endif
300 300
   #elif EXTRUDERS > 1 || defined(HEATERS_PARALLEL)
301 301
     #if !HAS_HEATER_1
302
-      #error HEATER_1_PIN not defined for this board
302
+      #error HEATER_1_PIN not defined for this board.
303 303
     #endif
304 304
   #endif
305 305
   #if !HAS_HEATER_0
306
-    #error HEATER_0_PIN not defined for this board
306
+    #error HEATER_0_PIN not defined for this board.
307 307
   #endif
308 308
 
309 309
   /**
310 310
    * Warnings for old configurations
311 311
    */
312 312
   #ifdef X_HOME_RETRACT_MM
313
-    #error [XYZ]_HOME_RETRACT_MM settings have been renamed [XYZ]_HOME_BUMP_MM
313
+    #error [XYZ]_HOME_RETRACT_MM settings have been renamed [XYZ]_HOME_BUMP_MM.
314 314
   #endif
315 315
 
316 316
   #if WATCH_TEMP_PERIOD > 500
317
-    #error WATCH_TEMP_PERIOD now uses seconds instead of milliseconds
317
+    #error WATCH_TEMP_PERIOD now uses seconds instead of milliseconds.
318 318
   #endif
319 319
 
320 320
   #if !defined(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD))
321
-    #error Thermal Runaway Protection for hotends must now be enabled with THERMAL_PROTECTION_HOTENDS
321
+    #error Thermal Runaway Protection for hotends must now be enabled with THERMAL_PROTECTION_HOTENDS.
322 322
   #endif
323 323
 
324 324
   #if !defined(THERMAL_PROTECTION_BED) && defined(THERMAL_PROTECTION_BED_PERIOD)
325
-    #error Thermal Runaway Protection for the bed must now be enabled with THERMAL_PROTECTION_BED
325
+    #error Thermal Runaway Protection for the bed must now be enabled with THERMAL_PROTECTION_BED.
326 326
   #endif
327 327
 
328 328
 #endif //SANITYCHECK_H

Loading…
Cancel
Save