Browse Source

Enclose all #error strings with apostrophes

esenapaj 9 years ago
parent
commit
888443ca1e
47 changed files with 169 additions and 169 deletions
  1. 4
    4
      Marlin/Conditionals.h
  2. 1
    1
      Marlin/Marlin.h
  3. 1
    1
      Marlin/MarlinSerial.h
  4. 2
    2
      Marlin/Marlin_main.cpp
  5. 104
    104
      Marlin/SanityCheck.h
  6. 1
    1
      Marlin/Sd2Card.cpp
  7. 1
    1
      Marlin/Sd2PinMap.h
  8. 1
    1
      Marlin/fastio.h
  9. 1
    1
      Marlin/pins.h
  10. 1
    1
      Marlin/pins_5DPRINT.h
  11. 1
    1
      Marlin/pins_A4JP.h
  12. 1
    1
      Marlin/pins_BQ_ZUM_MEGA_3D.h
  13. 1
    1
      Marlin/pins_BRAINWAVE.h
  14. 2
    2
      Marlin/pins_BRAINWAVE_PRO.h
  15. 1
    1
      Marlin/pins_CHEAPTRONIC.h
  16. 1
    1
      Marlin/pins_ELEFU_3.h
  17. 1
    1
      Marlin/pins_GEN3_MONOLITHIC.h
  18. 1
    1
      Marlin/pins_GEN3_PLUS.h
  19. 1
    1
      Marlin/pins_GEN6.h
  20. 1
    1
      Marlin/pins_GEN7_12.h
  21. 1
    1
      Marlin/pins_GEN7_14.h
  22. 1
    1
      Marlin/pins_GEN7_CUSTOM.h
  23. 1
    1
      Marlin/pins_LEAPFROG.h
  24. 2
    2
      Marlin/pins_MEGACONTROLLER.h
  25. 1
    1
      Marlin/pins_MEGATRONICS.h
  26. 1
    1
      Marlin/pins_MEGATRONICS_2.h
  27. 1
    1
      Marlin/pins_MEGATRONICS_3.h
  28. 1
    1
      Marlin/pins_MINIRAMBO.h
  29. 1
    1
      Marlin/pins_MINITRONICS.h
  30. 1
    1
      Marlin/pins_OMCA.h
  31. 1
    1
      Marlin/pins_OMCA_A.h
  32. 2
    2
      Marlin/pins_PRINTRBOARD.h
  33. 2
    2
      Marlin/pins_PRINTRBOARD_REVF.h
  34. 1
    1
      Marlin/pins_RAMBO.h
  35. 1
    1
      Marlin/pins_RAMPS_14.h
  36. 1
    1
      Marlin/pins_RAMPS_OLD.h
  37. 2
    2
      Marlin/pins_RUMBA.h
  38. 1
    1
      Marlin/pins_SANGUINOLOLU_11.h
  39. 1
    1
      Marlin/pins_SAV_MKI.h
  40. 1
    1
      Marlin/pins_SETHI.h
  41. 2
    2
      Marlin/pins_TEENSY2.h
  42. 2
    2
      Marlin/pins_TEENSYLU.h
  43. 1
    1
      Marlin/pins_ULTIMAIN_2.h
  44. 1
    1
      Marlin/pins_ULTIMAKER.h
  45. 1
    1
      Marlin/pins_ULTIMAKER_OLD.h
  46. 5
    5
      Marlin/thermistortables.h
  47. 5
    5
      Marlin/utf_mapper.h

+ 4
- 4
Marlin/Conditionals.h View File

478
   #endif
478
   #endif
479
 
479
 
480
   #if TEMP_SENSOR_1 <= -2
480
   #if TEMP_SENSOR_1 <= -2
481
-    #error MAX6675 / MAX31855 Thermocouples not supported for TEMP_SENSOR_1
481
+    #error "MAX6675 / MAX31855 Thermocouples not supported for TEMP_SENSOR_1"
482
   #elif TEMP_SENSOR_1 == -1
482
   #elif TEMP_SENSOR_1 == -1
483
     #define HEATER_1_USES_AD595
483
     #define HEATER_1_USES_AD595
484
   #elif TEMP_SENSOR_1 == 0
484
   #elif TEMP_SENSOR_1 == 0
490
   #endif
490
   #endif
491
 
491
 
492
   #if TEMP_SENSOR_2 <= -2
492
   #if TEMP_SENSOR_2 <= -2
493
-    #error MAX6675 / MAX31855 Thermocouples not supported for TEMP_SENSOR_2
493
+    #error "MAX6675 / MAX31855 Thermocouples not supported for TEMP_SENSOR_2"
494
   #elif TEMP_SENSOR_2 == -1
494
   #elif TEMP_SENSOR_2 == -1
495
     #define HEATER_2_USES_AD595
495
     #define HEATER_2_USES_AD595
496
   #elif TEMP_SENSOR_2 == 0
496
   #elif TEMP_SENSOR_2 == 0
502
   #endif
502
   #endif
503
 
503
 
504
   #if TEMP_SENSOR_3 <= -2
504
   #if TEMP_SENSOR_3 <= -2
505
-    #error MAX6675 / MAX31855 Thermocouples not supported for TEMP_SENSOR_3
505
+    #error "MAX6675 / MAX31855 Thermocouples not supported for TEMP_SENSOR_3"
506
   #elif TEMP_SENSOR_3 == -1
506
   #elif TEMP_SENSOR_3 == -1
507
     #define HEATER_3_USES_AD595
507
     #define HEATER_3_USES_AD595
508
   #elif TEMP_SENSOR_3 == 0
508
   #elif TEMP_SENSOR_3 == 0
514
   #endif
514
   #endif
515
 
515
 
516
   #if TEMP_SENSOR_BED <= -2
516
   #if TEMP_SENSOR_BED <= -2
517
-    #error MAX6675 / MAX31855 Thermocouples not supported for TEMP_SENSOR_BED
517
+    #error "MAX6675 / MAX31855 Thermocouples not supported for TEMP_SENSOR_BED"
518
   #elif TEMP_SENSOR_BED == -1
518
   #elif TEMP_SENSOR_BED == -1
519
     #define BED_USES_AD595
519
     #define BED_USES_AD595
520
   #elif TEMP_SENSOR_BED == 0
520
   #elif TEMP_SENSOR_BED == 0

+ 1
- 1
Marlin/Marlin.h View File

45
 #include "pins.h"
45
 #include "pins.h"
46
 
46
 
47
 #ifndef SANITYCHECK_H
47
 #ifndef SANITYCHECK_H
48
-  #error Your Configuration.h and Configuration_adv.h files are outdated!
48
+  #error "Your Configuration.h and Configuration_adv.h files are outdated!"
49
 #endif
49
 #endif
50
 
50
 
51
 #include "Arduino.h"
51
 #include "Arduino.h"

+ 1
- 1
Marlin/MarlinSerial.h View File

88
   #define RX_BUFFER_SIZE 128
88
   #define RX_BUFFER_SIZE 128
89
 #endif
89
 #endif
90
 #if !((RX_BUFFER_SIZE == 256) ||(RX_BUFFER_SIZE == 128) ||(RX_BUFFER_SIZE == 64) ||(RX_BUFFER_SIZE == 32) ||(RX_BUFFER_SIZE == 16) ||(RX_BUFFER_SIZE == 8) ||(RX_BUFFER_SIZE == 4) ||(RX_BUFFER_SIZE == 2))
90
 #if !((RX_BUFFER_SIZE == 256) ||(RX_BUFFER_SIZE == 128) ||(RX_BUFFER_SIZE == 64) ||(RX_BUFFER_SIZE == 32) ||(RX_BUFFER_SIZE == 16) ||(RX_BUFFER_SIZE == 8) ||(RX_BUFFER_SIZE == 4) ||(RX_BUFFER_SIZE == 2))
91
-  #error RX_BUFFER_SIZE has to be a power of 2 and >= 2
91
+  #error "RX_BUFFER_SIZE has to be a power of 2 and >= 2"
92
 #endif
92
 #endif
93
 
93
 
94
 struct ring_buffer {
94
 struct ring_buffer {

+ 2
- 2
Marlin/Marlin_main.cpp View File

3953
    */
3953
    */
3954
   #if ENABLED(Z_MIN_PROBE_ENDSTOP)
3954
   #if ENABLED(Z_MIN_PROBE_ENDSTOP)
3955
     #if !HAS_Z_MIN_PROBE_PIN
3955
     #if !HAS_Z_MIN_PROBE_PIN
3956
-      #error You must define Z_MIN_PROBE_PIN to enable Z probe repeatability calculation.
3956
+      #error "You must define Z_MIN_PROBE_PIN to enable Z probe repeatability calculation."
3957
     #endif
3957
     #endif
3958
   #elif !HAS_Z_MIN
3958
   #elif !HAS_Z_MIN
3959
-    #error You must define Z_MIN_PIN to enable Z probe repeatability calculation.
3959
+    #error "You must define Z_MIN_PIN to enable Z probe repeatability calculation."
3960
   #endif
3960
   #endif
3961
 
3961
 
3962
   /**
3962
   /**

+ 104
- 104
Marlin/SanityCheck.h View File

35
  * action to proceed with compilation in such environments.
35
  * action to proceed with compilation in such environments.
36
  */
36
  */
37
 #if !defined(ARDUINO) || ARDUINO < 10600
37
 #if !defined(ARDUINO) || ARDUINO < 10600
38
-  #error Versions of Arduino IDE prior to 1.6.0 are no longer supported, please update your toolkit.
38
+  #error "Versions of Arduino IDE prior to 1.6.0 are no longer supported, please update your toolkit."
39
 #endif
39
 #endif
40
 
40
 
41
 /**
41
 /**
42
  * Marlin release, version and default string
42
  * Marlin release, version and default string
43
  */
43
  */
44
 #ifndef SHORT_BUILD_VERSION
44
 #ifndef SHORT_BUILD_VERSION
45
-  #error SHORT_BUILD_VERSION Information must be specified
45
+  #error "SHORT_BUILD_VERSION Information must be specified"
46
 #endif
46
 #endif
47
 
47
 
48
 #ifndef DETAILED_BUILD_VERSION
48
 #ifndef DETAILED_BUILD_VERSION
49
-  #error BUILD_VERSION Information must be specified
49
+  #error "BUILD_VERSION Information must be specified"
50
 #endif
50
 #endif
51
 
51
 
52
 #ifndef STRING_DISTRIBUTION_DATE
52
 #ifndef STRING_DISTRIBUTION_DATE
53
-  #error STRING_DISTRIBUTION_DATE Information must be specified
53
+  #error "STRING_DISTRIBUTION_DATE Information must be specified"
54
 #endif
54
 #endif
55
 
55
 
56
 #ifndef PROTOCOL_VERSION
56
 #ifndef PROTOCOL_VERSION
57
-  #error PROTOCOL_VERSION Information must be specified
57
+  #error "PROTOCOL_VERSION Information must be specified"
58
 #endif
58
 #endif
59
 
59
 
60
 #ifndef MACHINE_NAME
60
 #ifndef MACHINE_NAME
61
-  #error MACHINE_NAME Information must be specified
61
+  #error "MACHINE_NAME Information must be specified"
62
 #endif
62
 #endif
63
 
63
 
64
 #ifndef SOURCE_CODE_URL
64
 #ifndef SOURCE_CODE_URL
65
-  #error SOURCE_CODE_URL Information must be specified
65
+  #error "SOURCE_CODE_URL Information must be specified"
66
 #endif
66
 #endif
67
 
67
 
68
 #ifndef DEFAULT_MACHINE_UUID
68
 #ifndef DEFAULT_MACHINE_UUID
69
-  #error DEFAULT_MACHINE_UUID Information must be specified
69
+  #error "DEFAULT_MACHINE_UUID Information must be specified"
70
 #endif
70
 #endif
71
 
71
 
72
 #ifndef WEBSITE_URL
72
 #ifndef WEBSITE_URL
73
-  #error WEBSITE_URL Information must be specified
73
+  #error "WEBSITE_URL Information must be specified"
74
 #endif
74
 #endif
75
 
75
 
76
 /**
76
 /**
77
  * Dual Stepper Drivers
77
  * Dual Stepper Drivers
78
  */
78
  */
79
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS) && ENABLED(Y_DUAL_STEPPER_DRIVERS)
79
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS) && ENABLED(Y_DUAL_STEPPER_DRIVERS)
80
-  #error You cannot have dual stepper drivers for both Y and Z.
80
+  #error "You cannot have dual stepper drivers for both Y and Z."
81
 #endif
81
 #endif
82
 
82
 
83
 /**
83
 /**
85
  */
85
  */
86
 #if ENABLED(LCD_PROGRESS_BAR)
86
 #if ENABLED(LCD_PROGRESS_BAR)
87
   #if DISABLED(SDSUPPORT)
87
   #if DISABLED(SDSUPPORT)
88
-    #error LCD_PROGRESS_BAR requires SDSUPPORT.
88
+    #error "LCD_PROGRESS_BAR requires SDSUPPORT."
89
   #endif
89
   #endif
90
   #if ENABLED(DOGLCD)
90
   #if ENABLED(DOGLCD)
91
-    #error LCD_PROGRESS_BAR does not apply to graphical displays.
91
+    #error "LCD_PROGRESS_BAR does not apply to graphical displays."
92
   #endif
92
   #endif
93
   #if ENABLED(FILAMENT_LCD_DISPLAY)
93
   #if ENABLED(FILAMENT_LCD_DISPLAY)
94
-    #error LCD_PROGRESS_BAR and FILAMENT_LCD_DISPLAY are not fully compatible. Comment out this line to use both.
94
+    #error "LCD_PROGRESS_BAR and FILAMENT_LCD_DISPLAY are not fully compatible. Comment out this line to use both."
95
   #endif
95
   #endif
96
 #endif
96
 #endif
97
 
97
 
100
  */
100
  */
101
 #if ENABLED(BABYSTEPPING)
101
 #if ENABLED(BABYSTEPPING)
102
   #if DISABLED(ULTRA_LCD)
102
   #if DISABLED(ULTRA_LCD)
103
-    #error BABYSTEPPING requires an LCD controller.
103
+    #error "BABYSTEPPING requires an LCD controller."
104
   #endif
104
   #endif
105
   #if ENABLED(SCARA)
105
   #if ENABLED(SCARA)
106
-    #error BABYSTEPPING is not implemented for SCARA yet.
106
+    #error "BABYSTEPPING is not implemented for SCARA yet."
107
   #endif
107
   #endif
108
   #if ENABLED(DELTA) && ENABLED(BABYSTEP_XY)
108
   #if ENABLED(DELTA) && ENABLED(BABYSTEP_XY)
109
-    #error BABYSTEPPING only implemented for Z axis on deltabots.
109
+    #error "BABYSTEPPING only implemented for Z axis on deltabots."
110
   #endif
110
   #endif
111
 #endif
111
 #endif
112
 
112
 
114
  * Filament Change with Extruder Runout Prevention
114
  * Filament Change with Extruder Runout Prevention
115
  */
115
  */
116
 #if ENABLED(FILAMENTCHANGEENABLE) && ENABLED(EXTRUDER_RUNOUT_PREVENT)
116
 #if ENABLED(FILAMENTCHANGEENABLE) && ENABLED(EXTRUDER_RUNOUT_PREVENT)
117
-  #error EXTRUDER_RUNOUT_PREVENT currently incompatible with FILAMENTCHANGE.
117
+  #error "EXTRUDER_RUNOUT_PREVENT currently incompatible with FILAMENTCHANGE."
118
 #endif
118
 #endif
119
 
119
 
120
 /**
120
 /**
123
 #if EXTRUDERS > 1
123
 #if EXTRUDERS > 1
124
 
124
 
125
   #if EXTRUDERS > 4
125
   #if EXTRUDERS > 4
126
-    #error The maximum number of EXTRUDERS in Marlin is 4.
126
+    #error "The maximum number of EXTRUDERS in Marlin is 4."
127
   #endif
127
   #endif
128
 
128
 
129
   #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
129
   #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
130
-    #error EXTRUDERS must be 1 with TEMP_SENSOR_1_AS_REDUNDANT.
130
+    #error "EXTRUDERS must be 1 with TEMP_SENSOR_1_AS_REDUNDANT."
131
   #endif
131
   #endif
132
 
132
 
133
   #if ENABLED(HEATERS_PARALLEL)
133
   #if ENABLED(HEATERS_PARALLEL)
134
-    #error EXTRUDERS must be 1 with HEATERS_PARALLEL.
134
+    #error "EXTRUDERS must be 1 with HEATERS_PARALLEL."
135
   #endif
135
   #endif
136
 
136
 
137
   #if ENABLED(Y_DUAL_STEPPER_DRIVERS)
137
   #if ENABLED(Y_DUAL_STEPPER_DRIVERS)
138
-    #error EXTRUDERS must be 1 with Y_DUAL_STEPPER_DRIVERS.
138
+    #error "EXTRUDERS must be 1 with Y_DUAL_STEPPER_DRIVERS."
139
   #endif
139
   #endif
140
 
140
 
141
   #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
141
   #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
142
-    #error EXTRUDERS must be 1 with Z_DUAL_STEPPER_DRIVERS.
142
+    #error "EXTRUDERS must be 1 with Z_DUAL_STEPPER_DRIVERS."
143
   #endif
143
   #endif
144
 
144
 
145
 #endif // EXTRUDERS > 1
145
 #endif // EXTRUDERS > 1
148
  * Limited number of servos
148
  * Limited number of servos
149
  */
149
  */
150
 #if NUM_SERVOS > 4
150
 #if NUM_SERVOS > 4
151
-  #error The maximum number of SERVOS in Marlin is 4.
151
+  #error "The maximum number of SERVOS in Marlin is 4."
152
 #endif
152
 #endif
153
 #if defined(NUM_SERVOS) && NUM_SERVOS > 0
153
 #if defined(NUM_SERVOS) && NUM_SERVOS > 0
154
   #if X_ENDSTOP_SERVO_NR >= 0 || Y_ENDSTOP_SERVO_NR >= 0 || Z_ENDSTOP_SERVO_NR >= 0
154
   #if X_ENDSTOP_SERVO_NR >= 0 || Y_ENDSTOP_SERVO_NR >= 0 || Z_ENDSTOP_SERVO_NR >= 0
155
     #if X_ENDSTOP_SERVO_NR >= NUM_SERVOS
155
     #if X_ENDSTOP_SERVO_NR >= NUM_SERVOS
156
-      #error X_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS.
156
+      #error "X_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS."
157
     #elif Y_ENDSTOP_SERVO_NR >= NUM_SERVOS
157
     #elif Y_ENDSTOP_SERVO_NR >= NUM_SERVOS
158
-      #error Y_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS.
158
+      #error "Y_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS."
159
     #elif Z_ENDSTOP_SERVO_NR >= NUM_SERVOS
159
     #elif Z_ENDSTOP_SERVO_NR >= NUM_SERVOS
160
-      #error Z_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS.
160
+      #error "Z_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS."
161
     #endif
161
     #endif
162
   #endif
162
   #endif
163
 #endif
163
 #endif
166
  * Servo deactivation depends on servo endstops
166
  * Servo deactivation depends on servo endstops
167
  */
167
  */
168
 #if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_SERVO_ENDSTOPS
168
 #if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_SERVO_ENDSTOPS
169
-  #error At least one of the ?_ENDSTOP_SERVO_NR is required for DEACTIVATE_SERVOS_AFTER_MOVE.
169
+  #error "At least one of the ?_ENDSTOP_SERVO_NR is required for DEACTIVATE_SERVOS_AFTER_MOVE."
170
 #endif
170
 #endif
171
 
171
 
172
 /**
172
 /**
173
  * Required LCD language
173
  * Required LCD language
174
  */
174
  */
175
 #if DISABLED(DOGLCD) && ENABLED(ULTRA_LCD) && !defined(DISPLAY_CHARSET_HD44780)
175
 #if DISABLED(DOGLCD) && ENABLED(ULTRA_LCD) && !defined(DISPLAY_CHARSET_HD44780)
176
-  #error You must set DISPLAY_CHARSET_HD44780 to JAPANESE, WESTERN or CYRILLIC for your LCD controller.
176
+  #error "You must set DISPLAY_CHARSET_HD44780 to JAPANESE, WESTERN or CYRILLIC for your LCD controller."
177
 #endif
177
 #endif
178
 
178
 
179
 /**
179
 /**
180
  * Bed Heating Options - PID vs Limit Switching
180
  * Bed Heating Options - PID vs Limit Switching
181
  */
181
  */
182
 #if ENABLED(PIDTEMPBED) && ENABLED(BED_LIMIT_SWITCHING)
182
 #if ENABLED(PIDTEMPBED) && ENABLED(BED_LIMIT_SWITCHING)
183
-  #error To use BED_LIMIT_SWITCHING you must disable PIDTEMPBED.
183
+  #error "To use BED_LIMIT_SWITCHING you must disable PIDTEMPBED."
184
 #endif
184
 #endif
185
 
185
 
186
 /**
186
 /**
188
  */
188
  */
189
 #if ENABLED(MESH_BED_LEVELING)
189
 #if ENABLED(MESH_BED_LEVELING)
190
   #if ENABLED(DELTA)
190
   #if ENABLED(DELTA)
191
-    #error MESH_BED_LEVELING does not yet support DELTA printers.
191
+    #error "MESH_BED_LEVELING does not yet support DELTA printers."
192
   #endif
192
   #endif
193
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
193
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
194
-    #error Select AUTO_BED_LEVELING_FEATURE or MESH_BED_LEVELING, not both.
194
+    #error "Select AUTO_BED_LEVELING_FEATURE or MESH_BED_LEVELING, not both."
195
   #endif
195
   #endif
196
   #if MESH_NUM_X_POINTS > 7 || MESH_NUM_Y_POINTS > 7
196
   #if MESH_NUM_X_POINTS > 7 || MESH_NUM_Y_POINTS > 7
197
-    #error MESH_NUM_X_POINTS and MESH_NUM_Y_POINTS need to be less than 8.
197
+    #error "MESH_NUM_X_POINTS and MESH_NUM_Y_POINTS need to be less than 8."
198
   #endif
198
   #endif
199
 #elif ENABLED(MANUAL_BED_LEVELING)
199
 #elif ENABLED(MANUAL_BED_LEVELING)
200
-  #error MESH_BED_LEVELING is required for MANUAL_BED_LEVELING.
200
+  #error "MESH_BED_LEVELING is required for MANUAL_BED_LEVELING."
201
 #endif
201
 #endif
202
 
202
 
203
 /**
203
 /**
210
    * A probe needs a pin
210
    * A probe needs a pin
211
    */
211
    */
212
   #if !PROBE_PIN_CONFIGURED
212
   #if !PROBE_PIN_CONFIGURED
213
-    #error A probe needs a pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN.
213
+    #error "A probe needs a pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN."
214
   #endif
214
   #endif
215
 
215
 
216
   /**
216
   /**
217
    * Z_MIN_PIN and Z_MIN_PROBE_PIN can't co-exist when Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
217
    * Z_MIN_PIN and Z_MIN_PROBE_PIN can't co-exist when Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
218
    */
218
    */
219
   #if HAS_Z_MIN && HAS_Z_MIN_PROBE_PIN && ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
219
   #if HAS_Z_MIN && HAS_Z_MIN_PROBE_PIN && ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
220
-    #error A probe cannot have more than one pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN.
220
+    #error "A probe cannot have more than one pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN."
221
   #endif
221
   #endif
222
 
222
 
223
   /**
223
   /**
224
    * Make sure the plug is enabled if it's used
224
    * Make sure the plug is enabled if it's used
225
    */
225
    */
226
   #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && DISABLED(USE_ZMIN_PLUG)
226
   #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && DISABLED(USE_ZMIN_PLUG)
227
-    #error You must enable USE_ZMIN_PLUG if any probe or endstop is connected to the ZMIN plug.
227
+    #error "You must enable USE_ZMIN_PLUG if any probe or endstop is connected to the ZMIN plug."
228
   #endif
228
   #endif
229
 
229
 
230
   /**
230
   /**
233
   #if (ENABLED(FIX_MOUNTED_PROBE) && (ENABLED(MECHANICAL_PROBE) || HAS_Z_ENDSTOP_SERVO || ENABLED(Z_PROBE_SLED))) \
233
   #if (ENABLED(FIX_MOUNTED_PROBE) && (ENABLED(MECHANICAL_PROBE) || HAS_Z_ENDSTOP_SERVO || ENABLED(Z_PROBE_SLED))) \
234
        || (ENABLED(MECHANICAL_PROBE) && (HAS_Z_ENDSTOP_SERVO || ENABLED(Z_PROBE_SLED))) \
234
        || (ENABLED(MECHANICAL_PROBE) && (HAS_Z_ENDSTOP_SERVO || ENABLED(Z_PROBE_SLED))) \
235
        || (HAS_Z_ENDSTOP_SERVO && ENABLED(Z_PROBE_SLED))
235
        || (HAS_Z_ENDSTOP_SERVO && ENABLED(Z_PROBE_SLED))
236
-    #error Please define only one type of probe: Z Servo, MECHANICAL_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE.
236
+    #error "Please define only one type of probe: Z Servo, MECHANICAL_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE."
237
   #endif
237
   #endif
238
 
238
 
239
   /**
239
   /**
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
249
 
249
 
250
   /**
250
   /**
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
259
-    //  #error You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_MIN_PROBE_ENDSTOP.
259
+    //  #error "You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_MIN_PROBE_ENDSTOP."
260
     //#endif
260
     //#endif
261
     //#if defined(NUM_SERVOS) && NUM_SERVOS < 1
261
     //#if defined(NUM_SERVOS) && NUM_SERVOS < 1
262
-    //  #error You must have at least 1 servo defined for NUM_SERVOS to use Z_MIN_PROBE_ENDSTOP.
262
+    //  #error "You must have at least 1 servo defined for NUM_SERVOS to use Z_MIN_PROBE_ENDSTOP."
263
     //#endif
263
     //#endif
264
     //#if Z_ENDSTOP_SERVO_NR < 0
264
     //#if Z_ENDSTOP_SERVO_NR < 0
265
-    //  #error You must have Z_ENDSTOP_SERVO_NR set to at least 0 or above to use Z_MIN_PROBE_ENDSTOP.
265
+    //  #error "You must have Z_ENDSTOP_SERVO_NR set to at least 0 or above to use Z_MIN_PROBE_ENDSTOP."
266
     //#endif
266
     //#endif
267
     //#ifndef SERVO_ENDSTOP_ANGLES
267
     //#ifndef SERVO_ENDSTOP_ANGLES
268
-    //  #error You must have SERVO_ENDSTOP_ANGLES defined for Z Extend and Retract to use Z_MIN_PROBE_ENDSTOP.
268
+    //  #error "You must have SERVO_ENDSTOP_ANGLES defined for Z Extend and Retract to use Z_MIN_PROBE_ENDSTOP."
269
     //#endif
269
     //#endif
270
   #endif
270
   #endif
271
 
271
 
275
    * Require some kind of probe for bed leveling
275
    * Require some kind of probe for bed leveling
276
    */
276
    */
277
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
277
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
278
-    #error AUTO_BED_LEVELING_FEATURE requires a probe! Define a Z Servo, MECHANICAL_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE.
278
+    #error "AUTO_BED_LEVELING_FEATURE requires a probe! Define a Z Servo, MECHANICAL_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE."
279
   #endif
279
   #endif
280
 
280
 
281
 #endif
281
 #endif
291
   #if !PIN_EXISTS(Z_MIN)
291
   #if !PIN_EXISTS(Z_MIN)
292
     #if !PIN_EXISTS(Z_MIN_PROBE) || (DISABLED(Z_MIN_PROBE_ENDSTOP) || ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)) // It's possible for someone to set a pin for the Z probe, but not enable it.
292
     #if !PIN_EXISTS(Z_MIN_PROBE) || (DISABLED(Z_MIN_PROBE_ENDSTOP) || ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)) // It's possible for someone to set a pin for the Z probe, but not enable it.
293
       #if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
293
       #if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
294
-        #error You must have a Z_MIN or Z_PROBE endstop to enable Z_MIN_PROBE_REPEATABILITY_TEST.
294
+        #error "You must have a Z_MIN or Z_PROBE endstop to enable Z_MIN_PROBE_REPEATABILITY_TEST."
295
       #else
295
       #else
296
-        #error AUTO_BED_LEVELING_FEATURE requires a Z_MIN or Z_PROBE endstop. Z_MIN_PIN or Z_MIN_PROBE_PIN must point to a valid hardware pin.
296
+        #error "AUTO_BED_LEVELING_FEATURE requires a Z_MIN or Z_PROBE endstop. Z_MIN_PIN or Z_MIN_PROBE_PIN must point to a valid hardware pin."
297
       #endif
297
       #endif
298
     #endif
298
     #endif
299
   #endif
299
   #endif
305
     #ifndef DELTA_PROBEABLE_RADIUS
305
     #ifndef DELTA_PROBEABLE_RADIUS
306
       // Be sure points are in the right order
306
       // Be sure points are in the right order
307
       #if LEFT_PROBE_BED_POSITION > RIGHT_PROBE_BED_POSITION
307
       #if LEFT_PROBE_BED_POSITION > RIGHT_PROBE_BED_POSITION
308
-        #error LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.
308
+        #error "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION."
309
       #elif FRONT_PROBE_BED_POSITION > BACK_PROBE_BED_POSITION
309
       #elif FRONT_PROBE_BED_POSITION > BACK_PROBE_BED_POSITION
310
-        #error FRONT_PROBE_BED_POSITION must be less than BACK_PROBE_BED_POSITION.
310
+        #error "FRONT_PROBE_BED_POSITION must be less than BACK_PROBE_BED_POSITION."
311
       #endif
311
       #endif
312
       // Make sure probing points are reachable
312
       // Make sure probing points are reachable
313
       #if LEFT_PROBE_BED_POSITION < MIN_PROBE_X
313
       #if LEFT_PROBE_BED_POSITION < MIN_PROBE_X
345
  * Filament Width Sensor
345
  * Filament Width Sensor
346
  */
346
  */
347
 #if ENABLED(FILAMENT_WIDTH_SENSOR) && !HAS_FILAMENT_WIDTH_SENSOR
347
 #if ENABLED(FILAMENT_WIDTH_SENSOR) && !HAS_FILAMENT_WIDTH_SENSOR
348
-  #error FILAMENT_WIDTH_SENSOR requires a FILWIDTH_PIN to be defined.
348
+  #error "FILAMENT_WIDTH_SENSOR requires a FILWIDTH_PIN to be defined."
349
 #endif
349
 #endif
350
 
350
 
351
 
351
 
353
  * ULTIPANEL encoder
353
  * ULTIPANEL encoder
354
  */
354
  */
355
 #if ENABLED(ULTIPANEL) && DISABLED(NEWPANEL) && DISABLED(SR_LCD_2W_NL) && !defined(SHIFT_CLK)
355
 #if ENABLED(ULTIPANEL) && DISABLED(NEWPANEL) && DISABLED(SR_LCD_2W_NL) && !defined(SHIFT_CLK)
356
-  #error ULTIPANEL requires some kind of encoder.
356
+  #error "ULTIPANEL requires some kind of encoder."
357
 #endif
357
 #endif
358
 
358
 
359
 #if ENCODER_PULSES_PER_STEP < 0
359
 #if ENCODER_PULSES_PER_STEP < 0
360
-  #error ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead
360
+  #error "ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead"
361
 #endif
361
 #endif
362
 
362
 
363
 /**
363
 /**
368
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
368
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
369
 
369
 
370
     #if DISABLED(AUTO_BED_LEVELING_GRID)
370
     #if DISABLED(AUTO_BED_LEVELING_GRID)
371
-      #error Only AUTO_BED_LEVELING_GRID is supported with DELTA.
371
+      #error "Only AUTO_BED_LEVELING_GRID is supported with DELTA."
372
     #endif
372
     #endif
373
 
373
 
374
     #if ENABLED(Z_PROBE_SLED)
374
     #if ENABLED(Z_PROBE_SLED)
375
-      #error You cannot use Z_PROBE_SLED with DELTA.
375
+      #error "You cannot use Z_PROBE_SLED with DELTA."
376
     #endif
376
     #endif
377
 
377
 
378
   #endif
378
   #endif
383
  * Allen Key Z probe requires Auto Bed Leveling grid and Delta
383
  * Allen Key Z probe requires Auto Bed Leveling grid and Delta
384
  */
384
  */
385
 #if ENABLED(Z_PROBE_ALLEN_KEY) && !(ENABLED(AUTO_BED_LEVELING_GRID) && ENABLED(DELTA))
385
 #if ENABLED(Z_PROBE_ALLEN_KEY) && !(ENABLED(AUTO_BED_LEVELING_GRID) && ENABLED(DELTA))
386
-  #error Invalid use of Z_PROBE_ALLEN_KEY.
386
+  #error "Invalid use of Z_PROBE_ALLEN_KEY."
387
 #endif
387
 #endif
388
 
388
 
389
 /**
389
 /**
394
       || !HAS_X2_ENABLE || !HAS_X2_STEP || !HAS_X2_DIR \
394
       || !HAS_X2_ENABLE || !HAS_X2_STEP || !HAS_X2_DIR \
395
       || !defined(X2_HOME_POS) || !defined(X2_MIN_POS) || !defined(X2_MAX_POS) \
395
       || !defined(X2_HOME_POS) || !defined(X2_MIN_POS) || !defined(X2_MAX_POS) \
396
       || !HAS_X_MAX
396
       || !HAS_X_MAX
397
-    #error Missing or invalid definitions for DUAL_X_CARRIAGE mode.
397
+    #error "Missing or invalid definitions for DUAL_X_CARRIAGE mode."
398
   #endif
398
   #endif
399
   #if X_HOME_DIR != -1 || X2_HOME_DIR != 1
399
   #if X_HOME_DIR != -1 || X2_HOME_DIR != 1
400
-    #error Please use canonical x-carriage assignment.
400
+    #error "Please use canonical x-carriage assignment."
401
   #endif
401
   #endif
402
 #endif // DUAL_X_CARRIAGE
402
 #endif // DUAL_X_CARRIAGE
403
 
403
 
407
 #if HAS_AUTO_FAN
407
 #if HAS_AUTO_FAN
408
   #if HAS_FAN0
408
   #if HAS_FAN0
409
     #if EXTRUDER_0_AUTO_FAN_PIN == FAN_PIN
409
     #if EXTRUDER_0_AUTO_FAN_PIN == FAN_PIN
410
-      #error You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to FAN_PIN.
410
+      #error "You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to FAN_PIN."
411
     #elif EXTRUDER_1_AUTO_FAN_PIN == FAN_PIN
411
     #elif EXTRUDER_1_AUTO_FAN_PIN == FAN_PIN
412
-      #error You cannot set EXTRUDER_1_AUTO_FAN_PIN equal to FAN_PIN.
412
+      #error "You cannot set EXTRUDER_1_AUTO_FAN_PIN equal to FAN_PIN."
413
     #elif EXTRUDER_2_AUTO_FAN_PIN == FAN_PIN
413
     #elif EXTRUDER_2_AUTO_FAN_PIN == FAN_PIN
414
-      #error You cannot set EXTRUDER_2_AUTO_FAN_PIN equal to FAN_PIN.
414
+      #error "You cannot set EXTRUDER_2_AUTO_FAN_PIN equal to FAN_PIN."
415
     #elif EXTRUDER_3_AUTO_FAN_PIN == FAN_PIN
415
     #elif EXTRUDER_3_AUTO_FAN_PIN == FAN_PIN
416
-      #error You cannot set EXTRUDER_3_AUTO_FAN_PIN equal to FAN_PIN.
416
+      #error "You cannot set EXTRUDER_3_AUTO_FAN_PIN equal to FAN_PIN."
417
     #endif
417
     #endif
418
   #endif
418
   #endif
419
 #endif
419
 #endif
420
 
420
 
421
 #if HAS_FAN0 && CONTROLLERFAN_PIN == FAN_PIN
421
 #if HAS_FAN0 && CONTROLLERFAN_PIN == FAN_PIN
422
-  #error You cannot set CONTROLLERFAN_PIN equal to FAN_PIN.
422
+  #error "You cannot set CONTROLLERFAN_PIN equal to FAN_PIN."
423
 #endif
423
 #endif
424
 
424
 
425
 #if HAS_CONTROLLERFAN
425
 #if HAS_CONTROLLERFAN
426
   #if EXTRUDER_0_AUTO_FAN_PIN == CONTROLLERFAN_PIN
426
   #if EXTRUDER_0_AUTO_FAN_PIN == CONTROLLERFAN_PIN
427
-    #error You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN.
427
+    #error "You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN."
428
   #elif EXTRUDER_1_AUTO_FAN_PIN == CONTROLLERFAN_PIN
428
   #elif EXTRUDER_1_AUTO_FAN_PIN == CONTROLLERFAN_PIN
429
-    #error You cannot set EXTRUDER_1_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN.
429
+    #error "You cannot set EXTRUDER_1_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN."
430
   #elif EXTRUDER_2_AUTO_FAN_PIN == CONTROLLERFAN_PIN
430
   #elif EXTRUDER_2_AUTO_FAN_PIN == CONTROLLERFAN_PIN
431
-    #error You cannot set EXTRUDER_2_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN.
431
+    #error "You cannot set EXTRUDER_2_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN."
432
   #elif EXTRUDER_3_AUTO_FAN_PIN == CONTROLLERFAN_PIN
432
   #elif EXTRUDER_3_AUTO_FAN_PIN == CONTROLLERFAN_PIN
433
-    #error You cannot set EXTRUDER_3_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN.
433
+    #error "You cannot set EXTRUDER_3_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN."
434
   #endif
434
   #endif
435
 #endif
435
 #endif
436
 
436
 
439
  */
439
  */
440
 #if EXTRUDERS > 3
440
 #if EXTRUDERS > 3
441
   #if TEMP_SENSOR_3 == 0
441
   #if TEMP_SENSOR_3 == 0
442
-    #error TEMP_SENSOR_3 is required with 4 EXTRUDERS.
442
+    #error "TEMP_SENSOR_3 is required with 4 EXTRUDERS."
443
   #elif !HAS_HEATER_3
443
   #elif !HAS_HEATER_3
444
-    #error HEATER_3_PIN not defined for this board.
444
+    #error "HEATER_3_PIN not defined for this board."
445
   #elif !PIN_EXISTS(TEMP_3)
445
   #elif !PIN_EXISTS(TEMP_3)
446
-    #error TEMP_3_PIN not defined for this board.
446
+    #error "TEMP_3_PIN not defined for this board."
447
   #elif !PIN_EXISTS(E3_STEP) || !PIN_EXISTS(E3_DIR) || !PIN_EXISTS(E3_ENABLE)
447
   #elif !PIN_EXISTS(E3_STEP) || !PIN_EXISTS(E3_DIR) || !PIN_EXISTS(E3_ENABLE)
448
-    #error E3_STEP_PIN, E3_DIR_PIN, or E3_ENABLE_PIN not defined for this board.
448
+    #error "E3_STEP_PIN, E3_DIR_PIN, or E3_ENABLE_PIN not defined for this board."
449
   #endif
449
   #endif
450
 #elif EXTRUDERS > 2
450
 #elif EXTRUDERS > 2
451
   #if TEMP_SENSOR_2 == 0
451
   #if TEMP_SENSOR_2 == 0
452
-    #error TEMP_SENSOR_2 is required with 3 or more EXTRUDERS.
452
+    #error "TEMP_SENSOR_2 is required with 3 or more EXTRUDERS."
453
   #elif !HAS_HEATER_2
453
   #elif !HAS_HEATER_2
454
-    #error HEATER_2_PIN not defined for this board.
454
+    #error "HEATER_2_PIN not defined for this board."
455
   #elif !PIN_EXISTS(TEMP_2)
455
   #elif !PIN_EXISTS(TEMP_2)
456
-    #error TEMP_2_PIN not defined for this board.
456
+    #error "TEMP_2_PIN not defined for this board."
457
   #elif !PIN_EXISTS(E2_STEP) || !PIN_EXISTS(E2_DIR) || !PIN_EXISTS(E2_ENABLE)
457
   #elif !PIN_EXISTS(E2_STEP) || !PIN_EXISTS(E2_DIR) || !PIN_EXISTS(E2_ENABLE)
458
-    #error E2_STEP_PIN, E2_DIR_PIN, or E2_ENABLE_PIN not defined for this board.
458
+    #error "E2_STEP_PIN, E2_DIR_PIN, or E2_ENABLE_PIN not defined for this board."
459
   #endif
459
   #endif
460
 #elif EXTRUDERS > 1
460
 #elif EXTRUDERS > 1
461
   #if TEMP_SENSOR_1 == 0
461
   #if TEMP_SENSOR_1 == 0
462
-    #error TEMP_SENSOR_1 is required with 2 or more EXTRUDERS.
462
+    #error "TEMP_SENSOR_1 is required with 2 or more EXTRUDERS."
463
   #elif !PIN_EXISTS(TEMP_1)
463
   #elif !PIN_EXISTS(TEMP_1)
464
-    #error TEMP_1_PIN not defined for this board.
464
+    #error "TEMP_1_PIN not defined for this board."
465
   #elif !PIN_EXISTS(E1_STEP) || !PIN_EXISTS(E1_DIR) || !PIN_EXISTS(E1_ENABLE)
465
   #elif !PIN_EXISTS(E1_STEP) || !PIN_EXISTS(E1_DIR) || !PIN_EXISTS(E1_ENABLE)
466
-    #error E1_STEP_PIN, E1_DIR_PIN, or E1_ENABLE_PIN not defined for this board.
466
+    #error "E1_STEP_PIN, E1_DIR_PIN, or E1_ENABLE_PIN not defined for this board."
467
   #endif
467
   #endif
468
 #endif
468
 #endif
469
 
469
 
470
 #if EXTRUDERS > 1 || ENABLED(HEATERS_PARALLEL)
470
 #if EXTRUDERS > 1 || ENABLED(HEATERS_PARALLEL)
471
   #if !HAS_HEATER_1
471
   #if !HAS_HEATER_1
472
-    #error HEATER_1_PIN not defined for this board.
472
+    #error "HEATER_1_PIN not defined for this board."
473
   #endif
473
   #endif
474
 #endif
474
 #endif
475
 
475
 
476
 #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT) && TEMP_SENSOR_1 == 0
476
 #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT) && TEMP_SENSOR_1 == 0
477
-  #error TEMP_SENSOR_1 is required with TEMP_SENSOR_1_AS_REDUNDANT.
477
+  #error "TEMP_SENSOR_1 is required with TEMP_SENSOR_1_AS_REDUNDANT."
478
 #endif
478
 #endif
479
 
479
 
480
 #if !HAS_HEATER_0
480
 #if !HAS_HEATER_0
481
-  #error HEATER_0_PIN not defined for this board.
481
+  #error "HEATER_0_PIN not defined for this board."
482
 #elif !PIN_EXISTS(TEMP_0)
482
 #elif !PIN_EXISTS(TEMP_0)
483
-  #error TEMP_0_PIN not defined for this board.
483
+  #error "TEMP_0_PIN not defined for this board."
484
 #elif !PIN_EXISTS(E0_STEP) || !PIN_EXISTS(E0_DIR) || !PIN_EXISTS(E0_ENABLE)
484
 #elif !PIN_EXISTS(E0_STEP) || !PIN_EXISTS(E0_DIR) || !PIN_EXISTS(E0_ENABLE)
485
-  #error E0_STEP_PIN, E0_DIR_PIN, or E0_ENABLE_PIN not defined for this board.
485
+  #error "E0_STEP_PIN, E0_DIR_PIN, or E0_ENABLE_PIN not defined for this board."
486
 #elif TEMP_SENSOR_0 == 0
486
 #elif TEMP_SENSOR_0 == 0
487
-  #error TEMP_SENSOR_0 is required.
487
+  #error "TEMP_SENSOR_0 is required."
488
 #endif
488
 #endif
489
 
489
 
490
 /**
490
 /**
491
  * Endstops
491
  * Endstops
492
  */
492
  */
493
 #if DISABLED(USE_XMIN_PLUG) && DISABLED(USE_XMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _XMAX_ && Z2_USE_ENDSTOP <= _XMIN_)
493
 #if DISABLED(USE_XMIN_PLUG) && DISABLED(USE_XMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _XMAX_ && Z2_USE_ENDSTOP <= _XMIN_)
494
- #error You must enable USE_XMIN_PLUG or USE_XMAX_PLUG
494
+ #error "You must enable USE_XMIN_PLUG or USE_XMAX_PLUG"
495
 #elif DISABLED(USE_YMIN_PLUG) && DISABLED(USE_YMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _YMAX_ && Z2_USE_ENDSTOP <= _YMIN_)
495
 #elif DISABLED(USE_YMIN_PLUG) && DISABLED(USE_YMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _YMAX_ && Z2_USE_ENDSTOP <= _YMIN_)
496
- #error You must enable USE_YMIN_PLUG or USE_YMAX_PLUG
496
+ #error "You must enable USE_YMIN_PLUG or USE_YMAX_PLUG"
497
 #elif DISABLED(USE_ZMIN_PLUG) && DISABLED(USE_ZMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _ZMAX_ && Z2_USE_ENDSTOP <= _ZMIN_)
497
 #elif DISABLED(USE_ZMIN_PLUG) && DISABLED(USE_ZMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _ZMAX_ && Z2_USE_ENDSTOP <= _ZMIN_)
498
- #error You must enable USE_ZMIN_PLUG or USE_ZMAX_PLUG
498
+ #error "You must enable USE_ZMIN_PLUG or USE_ZMAX_PLUG"
499
 #elif ENABLED(Z_DUAL_ENDSTOPS) && !Z2_USE_ENDSTOP
499
 #elif ENABLED(Z_DUAL_ENDSTOPS) && !Z2_USE_ENDSTOP
500
- #error You must set Z2_USE_ENDSTOP with Z_DUAL_ENDSTOPS
500
+ #error "You must set Z2_USE_ENDSTOP with Z_DUAL_ENDSTOPS"
501
 #endif
501
 #endif
502
 
502
 
503
 /**
503
 /**
504
  * Warnings for old configurations
504
  * Warnings for old configurations
505
  */
505
  */
506
 #if WATCH_TEMP_PERIOD > 500
506
 #if WATCH_TEMP_PERIOD > 500
507
-  #error WATCH_TEMP_PERIOD now uses seconds instead of milliseconds.
507
+  #error "WATCH_TEMP_PERIOD now uses seconds instead of milliseconds."
508
 #elif DISABLED(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD))
508
 #elif DISABLED(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD))
509
-  #error Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS.
509
+  #error "Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS."
510
 #elif DISABLED(THERMAL_PROTECTION_BED) && defined(THERMAL_PROTECTION_BED_PERIOD)
510
 #elif DISABLED(THERMAL_PROTECTION_BED) && defined(THERMAL_PROTECTION_BED_PERIOD)
511
-  #error Thermal Runaway Protection for the bed is now enabled with THERMAL_PROTECTION_BED.
511
+  #error "Thermal Runaway Protection for the bed is now enabled with THERMAL_PROTECTION_BED."
512
 #elif ENABLED(COREXZ) && ENABLED(Z_LATE_ENABLE)
512
 #elif ENABLED(COREXZ) && ENABLED(Z_LATE_ENABLE)
513
   #error "Z_LATE_ENABLE can't be used with COREXZ."
513
   #error "Z_LATE_ENABLE can't be used with COREXZ."
514
 #elif defined(X_HOME_RETRACT_MM)
514
 #elif defined(X_HOME_RETRACT_MM)
515
-  #error [XYZ]_HOME_RETRACT_MM settings have been renamed [XYZ]_HOME_BUMP_MM.
515
+  #error "[XYZ]_HOME_RETRACT_MM settings have been renamed [XYZ]_HOME_BUMP_MM."
516
 #elif defined(PROBE_SERVO_DEACTIVATION_DELAY)
516
 #elif defined(PROBE_SERVO_DEACTIVATION_DELAY)
517
-  #error PROBE_SERVO_DEACTIVATION_DELAY has been replaced with DEACTIVATE_SERVOS_AFTER_MOVE and SERVO_DEACTIVATION_DELAY.
517
+  #error "PROBE_SERVO_DEACTIVATION_DELAY has been replaced with DEACTIVATE_SERVOS_AFTER_MOVE and SERVO_DEACTIVATION_DELAY."
518
 #elif defined(BEEPER)
518
 #elif defined(BEEPER)
519
-  #error BEEPER is now BEEPER_PIN. Please update your pins definitions.
519
+  #error "BEEPER is now BEEPER_PIN. Please update your pins definitions."
520
 #elif defined(SDCARDDETECT)
520
 #elif defined(SDCARDDETECT)
521
-  #error SDCARDDETECT is now SD_DETECT_PIN. Please update your pins definitions.
521
+  #error "SDCARDDETECT is now SD_DETECT_PIN. Please update your pins definitions."
522
 #elif defined(SDCARDDETECTINVERTED)
522
 #elif defined(SDCARDDETECTINVERTED)
523
-  #error SDCARDDETECTINVERTED is now SD_DETECT_INVERTED. Please update your configuration.
523
+  #error "SDCARDDETECTINVERTED is now SD_DETECT_INVERTED. Please update your configuration."
524
 #elif defined(BTENABLED)
524
 #elif defined(BTENABLED)
525
-  #error BTENABLED is now BLUETOOTH. Please update your configuration.
525
+  #error "BTENABLED is now BLUETOOTH. Please update your configuration."
526
 #elif defined(CUSTOM_MENDEL_NAME)
526
 #elif defined(CUSTOM_MENDEL_NAME)
527
-  #error CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME. Please update your configuration.
527
+  #error "CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME. Please update your configuration."
528
 #elif defined(HAS_AUTOMATIC_VERSIONING)
528
 #elif defined(HAS_AUTOMATIC_VERSIONING)
529
-  #error HAS_AUTOMATIC_VERSIONING is now USE_AUTOMATIC_VERSIONING. Please update your configuration.
529
+  #error "HAS_AUTOMATIC_VERSIONING is now USE_AUTOMATIC_VERSIONING. Please update your configuration."
530
 #elif defined(ENABLE_AUTO_BED_LEVELING)
530
 #elif defined(ENABLE_AUTO_BED_LEVELING)
531
-  #error ENABLE_AUTO_BED_LEVELING is now AUTO_BED_LEVELING_FEATURE. Please update your configuration.
531
+  #error "ENABLE_AUTO_BED_LEVELING is now AUTO_BED_LEVELING_FEATURE. Please update your configuration."
532
 #elif defined(SDSLOW)
532
 #elif defined(SDSLOW)
533
-  #error SDSLOW deprecated. Set SPI_SPEED to SPI_HALF_SPEED instead.
533
+  #error "SDSLOW deprecated. Set SPI_SPEED to SPI_HALF_SPEED instead."
534
 #elif defined(SDEXTRASLOW)
534
 #elif defined(SDEXTRASLOW)
535
-  #error SDEXTRASLOW deprecated. Set SPI_SPEED to SPI_QUARTER_SPEED instead.
535
+  #error "SDEXTRASLOW deprecated. Set SPI_SPEED to SPI_QUARTER_SPEED instead."
536
 #elif defined(Z_RAISE_BEFORE_HOMING)
536
 #elif defined(Z_RAISE_BEFORE_HOMING)
537
-  #error Z_RAISE_BEFORE_HOMING is deprecated. Use MIN_Z_HEIGHT_FOR_HOMING instead.
537
+  #error "Z_RAISE_BEFORE_HOMING is deprecated. Use MIN_Z_HEIGHT_FOR_HOMING instead."
538
 #elif defined(FILAMENT_SENSOR)
538
 #elif defined(FILAMENT_SENSOR)
539
-  #error FILAMENT_SENSOR is deprecated. Use FILAMENT_WIDTH_SENSOR instead.
539
+  #error "FILAMENT_SENSOR is deprecated. Use FILAMENT_WIDTH_SENSOR instead."
540
 #elif defined(DISABLE_MAX_ENDSTOPS) || defined(DISABLE_MIN_ENDSTOPS)
540
 #elif defined(DISABLE_MAX_ENDSTOPS) || defined(DISABLE_MIN_ENDSTOPS)
541
-  #error DISABLE_MAX_ENDSTOPS and DISABLE_MIN_ENDSTOPS deprecated. Use individual USE_*_PLUG options instead.
541
+  #error "DISABLE_MAX_ENDSTOPS and DISABLE_MIN_ENDSTOPS deprecated. Use individual USE_*_PLUG options instead."
542
 #elif ENABLED(Z_DUAL_ENDSTOPS) && !defined(Z2_USE_ENDSTOP)
542
 #elif ENABLED(Z_DUAL_ENDSTOPS) && !defined(Z2_USE_ENDSTOP)
543
-  #error Z_DUAL_ENDSTOPS settings are simplified. Just set Z2_USE_ENDSTOP to the endstop you want to repurpose for Z2
543
+  #error "Z_DUAL_ENDSTOPS settings are simplified. Just set Z2_USE_ENDSTOP to the endstop you want to repurpose for Z2"
544
 #elif defined(LANGUAGE_INCLUDE)
544
 #elif defined(LANGUAGE_INCLUDE)
545
-  #error LANGUAGE_INCLUDE has been replaced by LCD_LANGUAGE. Please update your configuration.
545
+  #error "LANGUAGE_INCLUDE has been replaced by LCD_LANGUAGE. Please update your configuration."
546
 #endif
546
 #endif
547
 
547
 
548
 #endif //SANITYCHECK_H
548
 #endif //SANITYCHECK_H

+ 1
- 1
Marlin/Sd2Card.cpp View File

36
   //------------------------------------------------------------------------------
36
   //------------------------------------------------------------------------------
37
   // make sure SPCR rate is in expected bits
37
   // make sure SPCR rate is in expected bits
38
   #if (SPR0 != 0 || SPR1 != 1)
38
   #if (SPR0 != 0 || SPR1 != 1)
39
-    #error unexpected SPCR bits
39
+    #error "unexpected SPCR bits"
40
   #endif
40
   #endif
41
   /**
41
   /**
42
    * Initialize hardware SPI
42
    * Initialize hardware SPI

+ 1
- 1
Marlin/Sd2PinMap.h View File

393
   {&DDRG, &PING, &PORTG, 0}, // G0 50
393
   {&DDRG, &PING, &PORTG, 0}, // G0 50
394
 };
394
 };
395
 #else  // defined(__AVR_ATmega1280__)
395
 #else  // defined(__AVR_ATmega1280__)
396
-#error unknown chip
396
+#error "unknown chip"
397
 #endif  // defined(__AVR_ATmega1280__)
397
 #endif  // defined(__AVR_ATmega1280__)
398
 //------------------------------------------------------------------------------
398
 //------------------------------------------------------------------------------
399
 static const uint8_t digitalPinCount = COUNT(digitalPinMap);
399
 static const uint8_t digitalPinCount = COUNT(digitalPinMap);

+ 1
- 1
Marlin/fastio.h View File

4038
 #endif
4038
 #endif
4039
 
4039
 
4040
 #ifndef DIO0_PIN
4040
 #ifndef DIO0_PIN
4041
-  #error pins for this chip not defined in arduino.h! If you write an appropriate pin definition and have this firmware work on your chip, please submit a pull request
4041
+  #error "pins for this chip not defined in arduino.h! If you write an appropriate pin definition and have this firmware work on your chip, please submit a pull request"
4042
 #endif
4042
 #endif
4043
 
4043
 
4044
 #endif /* _FASTIO_ARDUINO_H */
4044
 #endif /* _FASTIO_ARDUINO_H */

+ 1
- 1
Marlin/pins.h View File

154
 #elif MB(SAINSMART_2IN1)
154
 #elif MB(SAINSMART_2IN1)
155
   #include "pins_SAINSMART_2IN1.h"
155
   #include "pins_SAINSMART_2IN1.h"
156
 #else
156
 #else
157
-  #error Unknown MOTHERBOARD value set in Configuration.h
157
+  #error "Unknown MOTHERBOARD value set in Configuration.h"
158
 #endif
158
 #endif
159
 
159
 
160
 // List of pins which to ignore when asked to change by gcode, 0 and 1 are RX and TX, do not mess with those!
160
 // List of pins which to ignore when asked to change by gcode, 0 and 1 are RX and TX, do not mess with those!

+ 1
- 1
Marlin/pins_5DPRINT.h View File

27
  */
27
  */
28
 
28
 
29
 #ifndef __AVR_AT90USB1286__
29
 #ifndef __AVR_AT90USB1286__
30
-  #error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
30
+  #error "Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
31
 #endif
31
 #endif
32
 
32
 
33
 #define DEFAULT_MACHINE_NAME "Makibox"
33
 #define DEFAULT_MACHINE_NAME "Makibox"

+ 1
- 1
Marlin/pins_A4JP.h View File

25
  ************************************************/
25
  ************************************************/
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops!  Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 // Servo support
31
 // Servo support

+ 1
- 1
Marlin/pins_BQ_ZUM_MEGA_3D.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops! Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops! Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #include "pins_RAMPS_13.h"
31
 #include "pins_RAMPS_13.h"

+ 1
- 1
Marlin/pins_BRAINWAVE.h View File

28
  */
28
  */
29
 
29
 
30
 #ifndef __AVR_AT90USB646__
30
 #ifndef __AVR_AT90USB646__
31
-  #error Oops!  Make sure you have 'Brainwave' selected from the 'Tools -> Boards' menu.
31
+  #error "Oops!  Make sure you have 'Brainwave' selected from the 'Tools -> Boards' menu."
32
 #endif
32
 #endif
33
 
33
 
34
 #define X_STEP_PIN         27
34
 #define X_STEP_PIN         27

+ 2
- 2
Marlin/pins_BRAINWAVE_PRO.h View File

28
  */
28
  */
29
 
29
 
30
 #ifndef __AVR_AT90USB1286__
30
 #ifndef __AVR_AT90USB1286__
31
-  #error Oops!  Make sure you have 'Brainwave Pro' selected from the 'Tools -> Boards' menu.
31
+  #error "Oops!  Make sure you have 'Brainwave Pro' selected from the 'Tools -> Boards' menu."
32
 #endif
32
 #endif
33
 
33
 
34
 #include "fastio.h"
34
 #include "fastio.h"
35
 
35
 
36
 #ifndef AT90USBxx_TEENSYPP_ASSIGNMENTS  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
36
 #ifndef AT90USBxx_TEENSYPP_ASSIGNMENTS  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
37
-  #error  Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config
37
+  #error "Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config"
38
 #endif
38
 #endif
39
 
39
 
40
 #define LARGE_FLASH        true
40
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_CHEAPTRONIC.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define LARGE_FLASH        true
31
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_ELEFU_3.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define X_STEP_PIN         49
31
 #define X_STEP_PIN         49

+ 1
- 1
Marlin/pins_GEN3_MONOLITHIC.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega644P__
27
 #ifndef __AVR_ATmega644P__
28
-  #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define DEBUG_PIN 0
31
 #define DEBUG_PIN 0

+ 1
- 1
Marlin/pins_GEN3_PLUS.h View File

25
  */
25
  */
26
 
26
 
27
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
27
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
28
-  #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define X_STEP_PIN         15
31
 #define X_STEP_PIN         15

+ 1
- 1
Marlin/pins_GEN6.h View File

26
 
26
 
27
 #ifndef __AVR_ATmega644P__
27
 #ifndef __AVR_ATmega644P__
28
   #ifndef __AVR_ATmega1284P__
28
   #ifndef __AVR_ATmega1284P__
29
-    #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
29
+    #error "Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu."
30
   #endif
30
   #endif
31
 #endif
31
 #endif
32
 
32
 

+ 1
- 1
Marlin/pins_GEN7_12.h View File

25
  */
25
  */
26
 
26
 
27
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
27
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
28
-  #error Oops!  Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #ifndef GEN7_VERSION
31
 #ifndef GEN7_VERSION

+ 1
- 1
Marlin/pins_GEN7_14.h View File

27
 #define GEN7_VERSION 14 // v1.4
27
 #define GEN7_VERSION 14 // v1.4
28
 
28
 
29
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
29
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
30
-  #error Oops!  Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu.
30
+  #error "Oops!  Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu."
31
 #endif
31
 #endif
32
 
32
 
33
 //x axis pins
33
 //x axis pins

+ 1
- 1
Marlin/pins_GEN7_CUSTOM.h View File

28
  */
28
  */
29
 
29
 
30
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
30
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
31
-  #error Oops!  Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu.
31
+  #error "Oops!  Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu."
32
 #endif
32
 #endif
33
 
33
 
34
 //x axis pins
34
 //x axis pins

+ 1
- 1
Marlin/pins_LEAPFROG.h View File

25
  */
25
  */
26
 
26
 
27
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
27
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
28
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define X_STEP_PIN         28
31
 #define X_STEP_PIN         28

+ 2
- 2
Marlin/pins_MEGACONTROLLER.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #if EXTRUDERS > 2
31
 #if EXTRUDERS > 2
32
-  #error Mega Controller supports up to 2 extruders. Comment this line to keep going.
32
+  #error "Mega Controller supports up to 2 extruders. Comment this line to keep going."
33
 #endif
33
 #endif
34
 
34
 
35
 #define SERVO0_PIN 30
35
 #define SERVO0_PIN 30

+ 1
- 1
Marlin/pins_MEGATRONICS.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define LARGE_FLASH        true
31
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_MEGATRONICS_2.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define LARGE_FLASH        true
31
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_MEGATRONICS_3.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define LARGE_FLASH        true
31
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_MINIRAMBO.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops!  Make sure you have 'Arduino Mega 2560 or Rambo' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega 2560 or Rambo' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define LARGE_FLASH         true
31
 #define LARGE_FLASH         true

+ 1
- 1
Marlin/pins_MINITRONICS.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega1281__
27
 #ifndef __AVR_ATmega1281__
28
-  #error Oops!  Make sure you have 'Minitronics' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Minitronics' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define LARGE_FLASH        true
31
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_OMCA.h View File

52
  */
52
  */
53
 
53
 
54
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__)
54
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__)
55
-  #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu. (Final OMCA board)
55
+  #error "Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu. (Final OMCA board)"
56
 #endif
56
 #endif
57
 
57
 
58
 #define X_STEP_PIN         26
58
 #define X_STEP_PIN         26

+ 1
- 1
Marlin/pins_OMCA_A.h View File

51
  */
51
  */
52
 
52
 
53
 #ifndef __AVR_ATmega644__
53
 #ifndef __AVR_ATmega644__
54
-  #error Oops!  Make sure you have 'SanguinoA' selected from the 'Tools -> Boards' menu.
54
+  #error "Oops!  Make sure you have 'SanguinoA' selected from the 'Tools -> Boards' menu."
55
 #endif
55
 #endif
56
 
56
 
57
 #define X_STEP_PIN         21
57
 #define X_STEP_PIN         21

+ 2
- 2
Marlin/pins_PRINTRBOARD.h View File

28
  */
28
  */
29
 
29
 
30
 #ifndef __AVR_AT90USB1286__
30
 #ifndef __AVR_AT90USB1286__
31
-  #error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
31
+  #error "Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
32
 #endif
32
 #endif
33
 
33
 
34
 #if ENABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS)  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin traditional.
34
 #if ENABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS)  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin traditional.
35
-  #error These Printrboard assignments depend on traditional Marlin assignments, not AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h
35
+  #error "These Printrboard assignments depend on traditional Marlin assignments, not AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h"
36
 #endif
36
 #endif
37
 
37
 
38
 #define LARGE_FLASH        true
38
 #define LARGE_FLASH        true

+ 2
- 2
Marlin/pins_PRINTRBOARD_REVF.h View File

28
  */
28
  */
29
 
29
 
30
 #ifndef __AVR_AT90USB1286__
30
 #ifndef __AVR_AT90USB1286__
31
-  #error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
31
+  #error "Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
32
 #endif
32
 #endif
33
 
33
 
34
 #if ENABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS)  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin traditional.
34
 #if ENABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS)  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin traditional.
35
-  #error These Printrboard assignments depend on traditional Marlin assignments, not AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h
35
+  #error "These Printrboard assignments depend on traditional Marlin assignments, not AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h"
36
 #endif
36
 #endif
37
 
37
 
38
 #define LARGE_FLASH        true
38
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_RAMBO.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops!  Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define LARGE_FLASH true
31
 #define LARGE_FLASH true

+ 1
- 1
Marlin/pins_RAMPS_14.h View File

45
  */
45
  */
46
 
46
 
47
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
47
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
48
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
48
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
49
 #endif
49
 #endif
50
 
50
 
51
 #define LARGE_FLASH true
51
 #define LARGE_FLASH true

+ 1
- 1
Marlin/pins_RAMPS_OLD.h View File

25
  */
25
  */
26
 
26
 
27
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
27
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
28
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 // Uncomment the following line for RAMPS v1.0
31
 // Uncomment the following line for RAMPS v1.0

+ 2
- 2
Marlin/pins_RUMBA.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #if EXTRUDERS > 3
31
 #if EXTRUDERS > 3
32
-  #error RUMBA supports up to 3 extruders. Comment this line to keep going.
32
+  #error "RUMBA supports up to 3 extruders. Comment this line to keep going."
33
 #endif
33
 #endif
34
 
34
 
35
 #define DEFAULT_MACHINE_NAME "Rumba"
35
 #define DEFAULT_MACHINE_NAME "Rumba"

+ 1
- 1
Marlin/pins_SANGUINOLOLU_11.h View File

25
  */
25
  */
26
 
26
 
27
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
27
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
28
-  #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define X_STEP_PIN         15
31
 #define X_STEP_PIN         15

+ 1
- 1
Marlin/pins_SAV_MKI.h View File

28
  */
28
  */
29
 
29
 
30
 #ifndef __AVR_AT90USB1286__
30
 #ifndef __AVR_AT90USB1286__
31
-  #error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
31
+  #error "Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
32
 #endif
32
 #endif
33
 
33
 
34
 #define DEFAULT_MACHINE_NAME    "SAV MkI"
34
 #define DEFAULT_MACHINE_NAME    "SAV MkI"

+ 1
- 1
Marlin/pins_SETHI.h View File

25
  */
25
  */
26
 
26
 
27
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
27
 #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
28
-  #error Oops!  Make sure you have 'Sethi 3D' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Sethi 3D' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #ifndef GEN7_VERSION
31
 #ifndef GEN7_VERSION

+ 2
- 2
Marlin/pins_TEENSY2.h View File

66
  */
66
  */
67
 
67
 
68
 #ifndef __AVR_AT90USB1286__
68
 #ifndef __AVR_AT90USB1286__
69
-  #error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
69
+  #error "Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
70
 #endif
70
 #endif
71
 
71
 
72
 #ifndef AT90USBxx_TEENSYPP_ASSIGNMENTS  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
72
 #ifndef AT90USBxx_TEENSYPP_ASSIGNMENTS  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
73
-  #error  Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config
73
+  #error "Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config"
74
   // (or build from command line)
74
   // (or build from command line)
75
 #endif
75
 #endif
76
 
76
 

+ 2
- 2
Marlin/pins_TEENSYLU.h View File

28
  */
28
  */
29
 
29
 
30
 #ifndef __AVR_AT90USB1286__
30
 #ifndef __AVR_AT90USB1286__
31
-  #error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
31
+  #error "Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
32
 #endif
32
 #endif
33
 
33
 
34
 #if ENABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS)  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin traditional.
34
 #if ENABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS)  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin traditional.
35
-  #error These Teensylu assignments depend on traditional Marlin assignments, not AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h
35
+  #error "These Teensylu assignments depend on traditional Marlin assignments, not AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h"
36
 #endif
36
 #endif
37
 
37
 
38
 #define LARGE_FLASH        true
38
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_ULTIMAIN_2.h View File

25
  */
25
  */
26
 
26
 
27
 #ifndef __AVR_ATmega2560__
27
 #ifndef __AVR_ATmega2560__
28
-  #error Oops!  Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define DEFAULT_MACHINE_NAME    "Ultimaker"
31
 #define DEFAULT_MACHINE_NAME    "Ultimaker"

+ 1
- 1
Marlin/pins_ULTIMAKER.h View File

25
  */
25
  */
26
 
26
 
27
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
27
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
28
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define DEFAULT_MACHINE_NAME    "Ultimaker"
31
 #define DEFAULT_MACHINE_NAME    "Ultimaker"

+ 1
- 1
Marlin/pins_ULTIMAKER_OLD.h View File

25
  */
25
  */
26
 
26
 
27
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
27
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
28
-  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
28
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29
 #endif
29
 #endif
30
 
30
 
31
 #define DEFAULT_MACHINE_NAME    "Ultimaker"
31
 #define DEFAULT_MACHINE_NAME    "Ultimaker"

+ 5
- 5
Marlin/thermistortables.h View File

1177
   #define HEATER_0_TEMPTABLE_LEN COUNT(HEATER_0_TEMPTABLE)
1177
   #define HEATER_0_TEMPTABLE_LEN COUNT(HEATER_0_TEMPTABLE)
1178
 #else
1178
 #else
1179
   #ifdef HEATER_0_USES_THERMISTOR
1179
   #ifdef HEATER_0_USES_THERMISTOR
1180
-    #error No heater 0 thermistor table specified
1180
+    #error "No heater 0 thermistor table specified"
1181
   #else  // HEATER_0_USES_THERMISTOR
1181
   #else  // HEATER_0_USES_THERMISTOR
1182
     #define HEATER_0_TEMPTABLE NULL
1182
     #define HEATER_0_TEMPTABLE NULL
1183
     #define HEATER_0_TEMPTABLE_LEN 0
1183
     #define HEATER_0_TEMPTABLE_LEN 0
1200
   #define HEATER_1_TEMPTABLE_LEN COUNT(HEATER_1_TEMPTABLE)
1200
   #define HEATER_1_TEMPTABLE_LEN COUNT(HEATER_1_TEMPTABLE)
1201
 #else
1201
 #else
1202
   #ifdef HEATER_1_USES_THERMISTOR
1202
   #ifdef HEATER_1_USES_THERMISTOR
1203
-    #error No heater 1 thermistor table specified
1203
+    #error "No heater 1 thermistor table specified"
1204
   #else  // HEATER_1_USES_THERMISTOR
1204
   #else  // HEATER_1_USES_THERMISTOR
1205
     #define HEATER_1_TEMPTABLE NULL
1205
     #define HEATER_1_TEMPTABLE NULL
1206
     #define HEATER_1_TEMPTABLE_LEN 0
1206
     #define HEATER_1_TEMPTABLE_LEN 0
1223
   #define HEATER_2_TEMPTABLE_LEN COUNT(HEATER_2_TEMPTABLE)
1223
   #define HEATER_2_TEMPTABLE_LEN COUNT(HEATER_2_TEMPTABLE)
1224
 #else
1224
 #else
1225
   #ifdef HEATER_2_USES_THERMISTOR
1225
   #ifdef HEATER_2_USES_THERMISTOR
1226
-    #error No heater 2 thermistor table specified
1226
+    #error "No heater 2 thermistor table specified"
1227
   #else  // HEATER_2_USES_THERMISTOR
1227
   #else  // HEATER_2_USES_THERMISTOR
1228
     #define HEATER_2_TEMPTABLE NULL
1228
     #define HEATER_2_TEMPTABLE NULL
1229
     #define HEATER_2_TEMPTABLE_LEN 0
1229
     #define HEATER_2_TEMPTABLE_LEN 0
1246
   #define HEATER_3_TEMPTABLE_LEN COUNT(HEATER_3_TEMPTABLE)
1246
   #define HEATER_3_TEMPTABLE_LEN COUNT(HEATER_3_TEMPTABLE)
1247
 #else
1247
 #else
1248
   #ifdef HEATER_3_USES_THERMISTOR
1248
   #ifdef HEATER_3_USES_THERMISTOR
1249
-    #error No heater 3 thermistor table specified
1249
+    #error "No heater 3 thermistor table specified"
1250
   #else  // HEATER_3_USES_THERMISTOR
1250
   #else  // HEATER_3_USES_THERMISTOR
1251
     #define HEATER_3_TEMPTABLE NULL
1251
     #define HEATER_3_TEMPTABLE NULL
1252
     #define HEATER_3_TEMPTABLE_LEN 0
1252
     #define HEATER_3_TEMPTABLE_LEN 0
1269
   #define BEDTEMPTABLE_LEN COUNT(BEDTEMPTABLE)
1269
   #define BEDTEMPTABLE_LEN COUNT(BEDTEMPTABLE)
1270
 #else
1270
 #else
1271
   #ifdef BED_USES_THERMISTOR
1271
   #ifdef BED_USES_THERMISTOR
1272
-    #error No bed thermistor table specified
1272
+    #error "No bed thermistor table specified"
1273
   #endif // BED_USES_THERMISTOR
1273
   #endif // BED_USES_THERMISTOR
1274
 #endif
1274
 #endif
1275
 
1275
 

+ 5
- 5
Marlin/utf_mapper.h View File

74
   //          ヰ    ヱ    ヲ    ン    フ    ?    ?   ?    ?    ?    ヲ    ・    ー    ヽ    ヽ   ?
74
   //          ヰ    ヱ    ヲ    ン    フ    ?    ?   ?    ?    ?    ヲ    ・    ー    ヽ    ヽ   ?
75
            };
75
            };
76
     #elif ENABLED(MAPPER_D0D1)
76
     #elif ENABLED(MAPPER_D0D1)
77
-      #error( "Cyrillic on a japanese dsplay makes no sense. There are no matching symbols.");
77
+      #error "Cyrillic on a japanese dsplay makes no sense. There are no matching symbols."
78
     #endif
78
     #endif
79
 
79
 
80
   #elif DISPLAY_CHARSET_HD44780 == WESTERN
80
   #elif DISPLAY_CHARSET_HD44780 == WESTERN
108
   //          p    c    T    y    Ф    x    Ч    ч    Ш    Щ    Ъ    Ы    b    Э    Ю    Я
108
   //          p    c    T    y    Ф    x    Ч    ч    Ш    Щ    Ъ    Ы    b    Э    Ю    Я
109
             };
109
             };
110
     #elif ENABLED(MAPPER_E382E383)
110
     #elif ENABLED(MAPPER_E382E383)
111
-      #error( "Katakana on a western display makes no sense. There are no matching symbols." );
111
+      #error "Katakana on a western display makes no sense. There are no matching symbols."
112
     #endif
112
     #endif
113
 
113
 
114
   #elif DISPLAY_CHARSET_HD44780 == CYRILLIC
114
   #elif DISPLAY_CHARSET_HD44780 == CYRILLIC
135
              // ш    щ    ъ    ы    ь    э    ю    я      // 7  Ѱ ѱ Ѳ ѳ Ѵ ѵ Ѷ ѷ
135
              // ш    щ    ъ    ы    ь    э    ю    я      // 7  Ѱ ѱ Ѳ ѳ Ѵ ѵ Ѷ ѷ
136
              };                                           //    ѻ ѹ Ѻ ѻ Ѽ ѽ Ѿ ѿ
136
              };                                           //    ѻ ѹ Ѻ ѻ Ѽ ѽ Ѿ ѿ
137
     #elif ENABLED(MAPPER_C2C3)
137
     #elif ENABLED(MAPPER_C2C3)
138
-      #error( "Western languages on a cyrillic display makes no sense. There are no matching symbols." );
138
+      #error "Western languages on a cyrillic display makes no sense. There are no matching symbols."
139
     #elif ENABLED(MAPPER_E382E383)
139
     #elif ENABLED(MAPPER_E382E383)
140
-      #error( "Katakana on a cyrillic display makes no sense. There are no matching symbols." );
140
+      #error "Katakana on a cyrillic display makes no sense. There are no matching symbols."
141
     #endif
141
     #endif
142
   #else
142
   #else
143
-    #error("Something went wrong in the setting of DISPLAY_CHARSET_HD44780");
143
+    #error "Something went wrong in the setting of DISPLAY_CHARSET_HD44780"
144
   #endif // DISPLAY_CHARSET_HD44780
144
   #endif // DISPLAY_CHARSET_HD44780
145
 #endif // SIMULATE_ROMFONT
145
 #endif // SIMULATE_ROMFONT
146
 
146
 

Loading…
Cancel
Save