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
    */
96
    */
97
   #ifdef MESH_BED_LEVELING
97
   #ifdef MESH_BED_LEVELING
98
     #ifdef DELTA
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
     #endif
100
     #endif
101
     #ifdef ENABLE_AUTO_BED_LEVELING
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
     #endif
103
     #endif
104
     #if MESH_NUM_X_POINTS > 7 || MESH_NUM_Y_POINTS > 7
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
     #endif
106
     #endif
107
   #endif
107
   #endif
108
 
108
 
129
      */
129
      */
130
     #if defined(Z_PROBE_ENDSTOP)
130
     #if defined(Z_PROBE_ENDSTOP)
131
       #ifndef Z_PROBE_PIN
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
       #endif
133
       #endif
134
       #if Z_PROBE_PIN == -1
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
       #endif
136
       #endif
137
 // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment.
137
 // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment.
138
 //      #ifndef NUM_SERVOS
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
 //      #endif
140
 //      #endif
141
 //      #if defined(NUM_SERVOS) && NUM_SERVOS < 1
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
 //      #endif
143
 //      #endif
144
 //      #ifndef SERVO_ENDSTOPS
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
 //      #endif
146
 //      #endif
147
 //      #ifndef SERVO_ENDSTOP_ANGLES
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
 //      #endif
149
 //      #endif
150
     #endif
150
     #endif
151
     /**
151
     /**
176
         #define X_PROBE_ERROR
176
         #define X_PROBE_ERROR
177
       #endif
177
       #endif
178
       #ifdef X_PROBE_ERROR
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
       #endif
180
       #endif
181
       #if Y_PROBE_OFFSET_FROM_EXTRUDER < 0
181
       #if Y_PROBE_OFFSET_FROM_EXTRUDER < 0
182
         #if PROBE_SIZE_Y <= -PROBE_AREA_DEPTH
182
         #if PROBE_SIZE_Y <= -PROBE_AREA_DEPTH
186
         #define Y_PROBE_ERROR
186
         #define Y_PROBE_ERROR
187
       #endif
187
       #endif
188
       #ifdef Y_PROBE_ERROR
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
       #endif
190
       #endif
191
 
191
 
192
       #undef PROBE_SIZE_X
192
       #undef PROBE_SIZE_X
272
    */
272
    */
273
   #if HAS_AUTO_FAN && HAS_FAN
273
   #if HAS_AUTO_FAN && HAS_FAN
274
     #if EXTRUDER_0_AUTO_FAN_PIN == FAN_PIN
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
     #elif EXTRUDER_1_AUTO_FAN_PIN == FAN_PIN
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
     #elif EXTRUDER_2_AUTO_FAN_PIN == FAN_PIN
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
     #elif EXTRUDER_3_AUTO_FAN_PIN == FAN_PIN
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
     #endif
282
     #endif
283
   #endif
283
   #endif
284
 
284
 
285
   #if HAS_FAN && CONTROLLERFAN_PIN == FAN_PIN
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
   #endif
287
   #endif
288
 
288
 
289
   /**
289
   /**
291
    */
291
    */
292
   #if EXTRUDERS > 3
292
   #if EXTRUDERS > 3
293
     #if !HAS_HEATER_3
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
     #endif
295
     #endif
296
   #elif EXTRUDERS > 2
296
   #elif EXTRUDERS > 2
297
     #if !HAS_HEATER_2
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
     #endif
299
     #endif
300
   #elif EXTRUDERS > 1 || defined(HEATERS_PARALLEL)
300
   #elif EXTRUDERS > 1 || defined(HEATERS_PARALLEL)
301
     #if !HAS_HEATER_1
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
     #endif
303
     #endif
304
   #endif
304
   #endif
305
   #if !HAS_HEATER_0
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
   #endif
307
   #endif
308
 
308
 
309
   /**
309
   /**
310
    * Warnings for old configurations
310
    * Warnings for old configurations
311
    */
311
    */
312
   #ifdef X_HOME_RETRACT_MM
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
   #endif
314
   #endif
315
 
315
 
316
   #if WATCH_TEMP_PERIOD > 500
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
   #endif
318
   #endif
319
 
319
 
320
   #if !defined(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD))
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
   #endif
322
   #endif
323
 
323
 
324
   #if !defined(THERMAL_PROTECTION_BED) && defined(THERMAL_PROTECTION_BED_PERIOD)
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
   #endif
326
   #endif
327
 
327
 
328
 #endif //SANITYCHECK_H
328
 #endif //SANITYCHECK_H

Loading…
Cancel
Save