Browse Source

Merge pull request #3749 from esenapaj/patch-3

Enclose all #error strings by double-quotes
Scott Lahteine 9 years ago
parent
commit
a713043acd
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,7 +478,7 @@
478 478
   #endif
479 479
 
480 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 482
   #elif TEMP_SENSOR_1 == -1
483 483
     #define HEATER_1_USES_AD595
484 484
   #elif TEMP_SENSOR_1 == 0
@@ -490,7 +490,7 @@
490 490
   #endif
491 491
 
492 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 494
   #elif TEMP_SENSOR_2 == -1
495 495
     #define HEATER_2_USES_AD595
496 496
   #elif TEMP_SENSOR_2 == 0
@@ -502,7 +502,7 @@
502 502
   #endif
503 503
 
504 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 506
   #elif TEMP_SENSOR_3 == -1
507 507
     #define HEATER_3_USES_AD595
508 508
   #elif TEMP_SENSOR_3 == 0
@@ -514,7 +514,7 @@
514 514
   #endif
515 515
 
516 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 518
   #elif TEMP_SENSOR_BED == -1
519 519
     #define BED_USES_AD595
520 520
   #elif TEMP_SENSOR_BED == 0

+ 1
- 1
Marlin/Marlin.h View File

@@ -45,7 +45,7 @@
45 45
 #include "pins.h"
46 46
 
47 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 49
 #endif
50 50
 
51 51
 #include "Arduino.h"

+ 1
- 1
Marlin/MarlinSerial.h View File

@@ -88,7 +88,7 @@
88 88
   #define RX_BUFFER_SIZE 128
89 89
 #endif
90 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 92
 #endif
93 93
 
94 94
 struct ring_buffer {

+ 2
- 2
Marlin/Marlin_main.cpp View File

@@ -3957,10 +3957,10 @@ inline void gcode_M42() {
3957 3957
    */
3958 3958
   #if ENABLED(Z_MIN_PROBE_ENDSTOP)
3959 3959
     #if !HAS_Z_MIN_PROBE_PIN
3960
-      #error You must define Z_MIN_PROBE_PIN to enable Z probe repeatability calculation.
3960
+      #error "You must define Z_MIN_PROBE_PIN to enable Z probe repeatability calculation."
3961 3961
     #endif
3962 3962
   #elif !HAS_Z_MIN
3963
-    #error You must define Z_MIN_PIN to enable Z probe repeatability calculation.
3963
+    #error "You must define Z_MIN_PIN to enable Z probe repeatability calculation."
3964 3964
   #endif
3965 3965
 
3966 3966
   /**

+ 104
- 104
Marlin/SanityCheck.h View File

@@ -35,49 +35,49 @@
35 35
  * action to proceed with compilation in such environments.
36 36
  */
37 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 39
 #endif
40 40
 
41 41
 /**
42 42
  * Marlin release, version and default string
43 43
  */
44 44
 #ifndef SHORT_BUILD_VERSION
45
-  #error SHORT_BUILD_VERSION Information must be specified
45
+  #error "SHORT_BUILD_VERSION Information must be specified"
46 46
 #endif
47 47
 
48 48
 #ifndef DETAILED_BUILD_VERSION
49
-  #error BUILD_VERSION Information must be specified
49
+  #error "BUILD_VERSION Information must be specified"
50 50
 #endif
51 51
 
52 52
 #ifndef STRING_DISTRIBUTION_DATE
53
-  #error STRING_DISTRIBUTION_DATE Information must be specified
53
+  #error "STRING_DISTRIBUTION_DATE Information must be specified"
54 54
 #endif
55 55
 
56 56
 #ifndef PROTOCOL_VERSION
57
-  #error PROTOCOL_VERSION Information must be specified
57
+  #error "PROTOCOL_VERSION Information must be specified"
58 58
 #endif
59 59
 
60 60
 #ifndef MACHINE_NAME
61
-  #error MACHINE_NAME Information must be specified
61
+  #error "MACHINE_NAME Information must be specified"
62 62
 #endif
63 63
 
64 64
 #ifndef SOURCE_CODE_URL
65
-  #error SOURCE_CODE_URL Information must be specified
65
+  #error "SOURCE_CODE_URL Information must be specified"
66 66
 #endif
67 67
 
68 68
 #ifndef DEFAULT_MACHINE_UUID
69
-  #error DEFAULT_MACHINE_UUID Information must be specified
69
+  #error "DEFAULT_MACHINE_UUID Information must be specified"
70 70
 #endif
71 71
 
72 72
 #ifndef WEBSITE_URL
73
-  #error WEBSITE_URL Information must be specified
73
+  #error "WEBSITE_URL Information must be specified"
74 74
 #endif
75 75
 
76 76
 /**
77 77
  * Dual Stepper Drivers
78 78
  */
79 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 81
 #endif
82 82
 
83 83
 /**
@@ -85,13 +85,13 @@
85 85
  */
86 86
 #if ENABLED(LCD_PROGRESS_BAR)
87 87
   #if DISABLED(SDSUPPORT)
88
-    #error LCD_PROGRESS_BAR requires SDSUPPORT.
88
+    #error "LCD_PROGRESS_BAR requires SDSUPPORT."
89 89
   #endif
90 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 92
   #endif
93 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 95
   #endif
96 96
 #endif
97 97
 
@@ -100,13 +100,13 @@
100 100
  */
101 101
 #if ENABLED(BABYSTEPPING)
102 102
   #if DISABLED(ULTRA_LCD)
103
-    #error BABYSTEPPING requires an LCD controller.
103
+    #error "BABYSTEPPING requires an LCD controller."
104 104
   #endif
105 105
   #if ENABLED(SCARA)
106
-    #error BABYSTEPPING is not implemented for SCARA yet.
106
+    #error "BABYSTEPPING is not implemented for SCARA yet."
107 107
   #endif
108 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 110
   #endif
111 111
 #endif
112 112
 
@@ -114,7 +114,7 @@
114 114
  * Filament Change with Extruder Runout Prevention
115 115
  */
116 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 118
 #endif
119 119
 
120 120
 /**
@@ -130,23 +130,23 @@
130 130
 #if EXTRUDERS > 1
131 131
 
132 132
   #if EXTRUDERS > 4
133
-    #error The maximum number of EXTRUDERS in Marlin is 4.
133
+    #error "The maximum number of EXTRUDERS in Marlin is 4."
134 134
   #endif
135 135
 
136 136
   #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
137
-    #error EXTRUDERS must be 1 with TEMP_SENSOR_1_AS_REDUNDANT.
137
+    #error "EXTRUDERS must be 1 with TEMP_SENSOR_1_AS_REDUNDANT."
138 138
   #endif
139 139
 
140 140
   #if ENABLED(HEATERS_PARALLEL)
141
-    #error EXTRUDERS must be 1 with HEATERS_PARALLEL.
141
+    #error "EXTRUDERS must be 1 with HEATERS_PARALLEL."
142 142
   #endif
143 143
 
144 144
   #if ENABLED(Y_DUAL_STEPPER_DRIVERS)
145
-    #error EXTRUDERS must be 1 with Y_DUAL_STEPPER_DRIVERS.
145
+    #error "EXTRUDERS must be 1 with Y_DUAL_STEPPER_DRIVERS."
146 146
   #endif
147 147
 
148 148
   #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
149
-    #error EXTRUDERS must be 1 with Z_DUAL_STEPPER_DRIVERS.
149
+    #error "EXTRUDERS must be 1 with Z_DUAL_STEPPER_DRIVERS."
150 150
   #endif
151 151
 
152 152
 #endif // EXTRUDERS > 1
@@ -155,16 +155,16 @@
155 155
  * Limited number of servos
156 156
  */
157 157
 #if NUM_SERVOS > 4
158
-  #error The maximum number of SERVOS in Marlin is 4.
158
+  #error "The maximum number of SERVOS in Marlin is 4."
159 159
 #endif
160 160
 #if defined(NUM_SERVOS) && NUM_SERVOS > 0
161 161
   #if X_ENDSTOP_SERVO_NR >= 0 || Y_ENDSTOP_SERVO_NR >= 0 || Z_ENDSTOP_SERVO_NR >= 0
162 162
     #if X_ENDSTOP_SERVO_NR >= NUM_SERVOS
163
-      #error X_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS.
163
+      #error "X_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS."
164 164
     #elif Y_ENDSTOP_SERVO_NR >= NUM_SERVOS
165
-      #error Y_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS.
165
+      #error "Y_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS."
166 166
     #elif Z_ENDSTOP_SERVO_NR >= NUM_SERVOS
167
-      #error Z_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS.
167
+      #error "Z_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS."
168 168
     #endif
169 169
   #endif
170 170
 #endif
@@ -173,21 +173,21 @@
173 173
  * Servo deactivation depends on servo endstops
174 174
  */
175 175
 #if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_SERVO_ENDSTOPS
176
-  #error At least one of the ?_ENDSTOP_SERVO_NR is required for DEACTIVATE_SERVOS_AFTER_MOVE.
176
+  #error "At least one of the ?_ENDSTOP_SERVO_NR is required for DEACTIVATE_SERVOS_AFTER_MOVE."
177 177
 #endif
178 178
 
179 179
 /**
180 180
  * Required LCD language
181 181
  */
182 182
 #if DISABLED(DOGLCD) && ENABLED(ULTRA_LCD) && !defined(DISPLAY_CHARSET_HD44780)
183
-  #error You must set DISPLAY_CHARSET_HD44780 to JAPANESE, WESTERN or CYRILLIC for your LCD controller.
183
+  #error "You must set DISPLAY_CHARSET_HD44780 to JAPANESE, WESTERN or CYRILLIC for your LCD controller."
184 184
 #endif
185 185
 
186 186
 /**
187 187
  * Bed Heating Options - PID vs Limit Switching
188 188
  */
189 189
 #if ENABLED(PIDTEMPBED) && ENABLED(BED_LIMIT_SWITCHING)
190
-  #error To use BED_LIMIT_SWITCHING you must disable PIDTEMPBED.
190
+  #error "To use BED_LIMIT_SWITCHING you must disable PIDTEMPBED."
191 191
 #endif
192 192
 
193 193
 /**
@@ -195,16 +195,16 @@
195 195
  */
196 196
 #if ENABLED(MESH_BED_LEVELING)
197 197
   #if ENABLED(DELTA)
198
-    #error MESH_BED_LEVELING does not yet support DELTA printers.
198
+    #error "MESH_BED_LEVELING does not yet support DELTA printers."
199 199
   #endif
200 200
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
201
-    #error Select AUTO_BED_LEVELING_FEATURE or MESH_BED_LEVELING, not both.
201
+    #error "Select AUTO_BED_LEVELING_FEATURE or MESH_BED_LEVELING, not both."
202 202
   #endif
203 203
   #if MESH_NUM_X_POINTS > 7 || MESH_NUM_Y_POINTS > 7
204
-    #error MESH_NUM_X_POINTS and MESH_NUM_Y_POINTS need to be less than 8.
204
+    #error "MESH_NUM_X_POINTS and MESH_NUM_Y_POINTS need to be less than 8."
205 205
   #endif
206 206
 #elif ENABLED(MANUAL_BED_LEVELING)
207
-  #error MESH_BED_LEVELING is required for MANUAL_BED_LEVELING.
207
+  #error "MESH_BED_LEVELING is required for MANUAL_BED_LEVELING."
208 208
 #endif
209 209
 
210 210
 /**
@@ -217,21 +217,21 @@
217 217
    * A probe needs a pin
218 218
    */
219 219
   #if !PROBE_PIN_CONFIGURED
220
-    #error A probe needs a pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN.
220
+    #error "A probe needs a pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN."
221 221
   #endif
222 222
 
223 223
   /**
224 224
    * Z_MIN_PIN and Z_MIN_PROBE_PIN can't co-exist when Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
225 225
    */
226 226
   #if HAS_Z_MIN && HAS_Z_MIN_PROBE_PIN && ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
227
-    #error A probe cannot have more than one pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN.
227
+    #error "A probe cannot have more than one pin! Use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN or Z_MIN_PROBE_PIN."
228 228
   #endif
229 229
 
230 230
   /**
231 231
    * Make sure the plug is enabled if it's used
232 232
    */
233 233
   #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && DISABLED(USE_ZMIN_PLUG)
234
-    #error You must enable USE_ZMIN_PLUG if any probe or endstop is connected to the ZMIN plug.
234
+    #error "You must enable USE_ZMIN_PLUG if any probe or endstop is connected to the ZMIN plug."
235 235
   #endif
236 236
 
237 237
   /**
@@ -240,7 +240,7 @@
240 240
   #if (ENABLED(FIX_MOUNTED_PROBE) && (ENABLED(MECHANICAL_PROBE) || HAS_Z_ENDSTOP_SERVO || ENABLED(Z_PROBE_SLED))) \
241 241
        || (ENABLED(MECHANICAL_PROBE) && (HAS_Z_ENDSTOP_SERVO || ENABLED(Z_PROBE_SLED))) \
242 242
        || (HAS_Z_ENDSTOP_SERVO && ENABLED(Z_PROBE_SLED))
243
-    #error Please define only one type of probe: Z Servo, MECHANICAL_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE.
243
+    #error "Please define only one type of probe: Z Servo, MECHANICAL_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE."
244 244
   #endif
245 245
 
246 246
   /**
@@ -251,7 +251,7 @@
251 251
   #elif ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
252 252
     #error "Don't enable DISABLE_Z_MIN_PROBE_ENDSTOP with Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN."
253 253
   #elif ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_ENDSTOP)
254
-    #error DISABLE_Z_MIN_PROBE_ENDSTOP requires Z_MIN_PROBE_ENDSTOP to be set.
254
+    #error "DISABLE_Z_MIN_PROBE_ENDSTOP requires Z_MIN_PROBE_ENDSTOP to be set."
255 255
   #endif
256 256
 
257 257
   /**
@@ -263,16 +263,16 @@
263 263
     #endif
264 264
     // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment.
265 265
     //#ifndef NUM_SERVOS
266
-    //  #error You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_MIN_PROBE_ENDSTOP.
266
+    //  #error "You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_MIN_PROBE_ENDSTOP."
267 267
     //#endif
268 268
     //#if defined(NUM_SERVOS) && NUM_SERVOS < 1
269
-    //  #error You must have at least 1 servo defined for NUM_SERVOS to use Z_MIN_PROBE_ENDSTOP.
269
+    //  #error "You must have at least 1 servo defined for NUM_SERVOS to use Z_MIN_PROBE_ENDSTOP."
270 270
     //#endif
271 271
     //#if Z_ENDSTOP_SERVO_NR < 0
272
-    //  #error You must have Z_ENDSTOP_SERVO_NR set to at least 0 or above to use Z_MIN_PROBE_ENDSTOP.
272
+    //  #error "You must have Z_ENDSTOP_SERVO_NR set to at least 0 or above to use Z_MIN_PROBE_ENDSTOP."
273 273
     //#endif
274 274
     //#ifndef SERVO_ENDSTOP_ANGLES
275
-    //  #error You must have SERVO_ENDSTOP_ANGLES defined for Z Extend and Retract to use Z_MIN_PROBE_ENDSTOP.
275
+    //  #error "You must have SERVO_ENDSTOP_ANGLES defined for Z Extend and Retract to use Z_MIN_PROBE_ENDSTOP."
276 276
     //#endif
277 277
   #endif
278 278
 
@@ -282,7 +282,7 @@
282 282
    * Require some kind of probe for bed leveling
283 283
    */
284 284
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
285
-    #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.
285
+    #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."
286 286
   #endif
287 287
 
288 288
 #endif
@@ -298,9 +298,9 @@
298 298
   #if !PIN_EXISTS(Z_MIN)
299 299
     #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.
300 300
       #if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
301
-        #error You must have a Z_MIN or Z_PROBE endstop to enable Z_MIN_PROBE_REPEATABILITY_TEST.
301
+        #error "You must have a Z_MIN or Z_PROBE endstop to enable Z_MIN_PROBE_REPEATABILITY_TEST."
302 302
       #else
303
-        #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.
303
+        #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."
304 304
       #endif
305 305
     #endif
306 306
   #endif
@@ -312,9 +312,9 @@
312 312
     #ifndef DELTA_PROBEABLE_RADIUS
313 313
       // Be sure points are in the right order
314 314
       #if LEFT_PROBE_BED_POSITION > RIGHT_PROBE_BED_POSITION
315
-        #error LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.
315
+        #error "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION."
316 316
       #elif FRONT_PROBE_BED_POSITION > BACK_PROBE_BED_POSITION
317
-        #error FRONT_PROBE_BED_POSITION must be less than BACK_PROBE_BED_POSITION.
317
+        #error "FRONT_PROBE_BED_POSITION must be less than BACK_PROBE_BED_POSITION."
318 318
       #endif
319 319
       // Make sure probing points are reachable
320 320
       #if LEFT_PROBE_BED_POSITION < MIN_PROBE_X
@@ -352,7 +352,7 @@
352 352
  * Filament Width Sensor
353 353
  */
354 354
 #if ENABLED(FILAMENT_WIDTH_SENSOR) && !HAS_FILAMENT_WIDTH_SENSOR
355
-  #error FILAMENT_WIDTH_SENSOR requires a FILWIDTH_PIN to be defined.
355
+  #error "FILAMENT_WIDTH_SENSOR requires a FILWIDTH_PIN to be defined."
356 356
 #endif
357 357
 
358 358
 
@@ -360,11 +360,11 @@
360 360
  * ULTIPANEL encoder
361 361
  */
362 362
 #if ENABLED(ULTIPANEL) && DISABLED(NEWPANEL) && DISABLED(SR_LCD_2W_NL) && !defined(SHIFT_CLK)
363
-  #error ULTIPANEL requires some kind of encoder.
363
+  #error "ULTIPANEL requires some kind of encoder."
364 364
 #endif
365 365
 
366 366
 #if ENCODER_PULSES_PER_STEP < 0
367
-  #error ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead
367
+  #error "ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead"
368 368
 #endif
369 369
 
370 370
 /**
@@ -375,11 +375,11 @@
375 375
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
376 376
 
377 377
     #if DISABLED(AUTO_BED_LEVELING_GRID)
378
-      #error Only AUTO_BED_LEVELING_GRID is supported with DELTA.
378
+      #error "Only AUTO_BED_LEVELING_GRID is supported with DELTA."
379 379
     #endif
380 380
 
381 381
     #if ENABLED(Z_PROBE_SLED)
382
-      #error You cannot use Z_PROBE_SLED with DELTA.
382
+      #error "You cannot use Z_PROBE_SLED with DELTA."
383 383
     #endif
384 384
 
385 385
   #endif
@@ -390,7 +390,7 @@
390 390
  * Allen Key Z probe requires Auto Bed Leveling grid and Delta
391 391
  */
392 392
 #if ENABLED(Z_PROBE_ALLEN_KEY) && !(ENABLED(AUTO_BED_LEVELING_GRID) && ENABLED(DELTA))
393
-  #error Invalid use of Z_PROBE_ALLEN_KEY.
393
+  #error "Invalid use of Z_PROBE_ALLEN_KEY."
394 394
 #endif
395 395
 
396 396
 /**
@@ -401,10 +401,10 @@
401 401
       || !HAS_X2_ENABLE || !HAS_X2_STEP || !HAS_X2_DIR \
402 402
       || !defined(X2_HOME_POS) || !defined(X2_MIN_POS) || !defined(X2_MAX_POS) \
403 403
       || !HAS_X_MAX
404
-    #error Missing or invalid definitions for DUAL_X_CARRIAGE mode.
404
+    #error "Missing or invalid definitions for DUAL_X_CARRIAGE mode."
405 405
   #endif
406 406
   #if X_HOME_DIR != -1 || X2_HOME_DIR != 1
407
-    #error Please use canonical x-carriage assignment.
407
+    #error "Please use canonical x-carriage assignment."
408 408
   #endif
409 409
 #endif // DUAL_X_CARRIAGE
410 410
 
@@ -414,30 +414,30 @@
414 414
 #if HAS_AUTO_FAN
415 415
   #if HAS_FAN0
416 416
     #if EXTRUDER_0_AUTO_FAN_PIN == FAN_PIN
417
-      #error You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to FAN_PIN.
417
+      #error "You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to FAN_PIN."
418 418
     #elif EXTRUDER_1_AUTO_FAN_PIN == FAN_PIN
419
-      #error You cannot set EXTRUDER_1_AUTO_FAN_PIN equal to FAN_PIN.
419
+      #error "You cannot set EXTRUDER_1_AUTO_FAN_PIN equal to FAN_PIN."
420 420
     #elif EXTRUDER_2_AUTO_FAN_PIN == FAN_PIN
421
-      #error You cannot set EXTRUDER_2_AUTO_FAN_PIN equal to FAN_PIN.
421
+      #error "You cannot set EXTRUDER_2_AUTO_FAN_PIN equal to FAN_PIN."
422 422
     #elif EXTRUDER_3_AUTO_FAN_PIN == FAN_PIN
423
-      #error You cannot set EXTRUDER_3_AUTO_FAN_PIN equal to FAN_PIN.
423
+      #error "You cannot set EXTRUDER_3_AUTO_FAN_PIN equal to FAN_PIN."
424 424
     #endif
425 425
   #endif
426 426
 #endif
427 427
 
428 428
 #if HAS_FAN0 && CONTROLLERFAN_PIN == FAN_PIN
429
-  #error You cannot set CONTROLLERFAN_PIN equal to FAN_PIN.
429
+  #error "You cannot set CONTROLLERFAN_PIN equal to FAN_PIN."
430 430
 #endif
431 431
 
432 432
 #if HAS_CONTROLLERFAN
433 433
   #if EXTRUDER_0_AUTO_FAN_PIN == CONTROLLERFAN_PIN
434
-    #error You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN.
434
+    #error "You cannot set EXTRUDER_0_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN."
435 435
   #elif EXTRUDER_1_AUTO_FAN_PIN == CONTROLLERFAN_PIN
436
-    #error You cannot set EXTRUDER_1_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN.
436
+    #error "You cannot set EXTRUDER_1_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN."
437 437
   #elif EXTRUDER_2_AUTO_FAN_PIN == CONTROLLERFAN_PIN
438
-    #error You cannot set EXTRUDER_2_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN.
438
+    #error "You cannot set EXTRUDER_2_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN."
439 439
   #elif EXTRUDER_3_AUTO_FAN_PIN == CONTROLLERFAN_PIN
440
-    #error You cannot set EXTRUDER_3_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN.
440
+    #error "You cannot set EXTRUDER_3_AUTO_FAN_PIN equal to CONTROLLERFAN_PIN."
441 441
   #endif
442 442
 #endif
443 443
 
@@ -446,110 +446,110 @@
446 446
  */
447 447
 #if EXTRUDERS > 3
448 448
   #if TEMP_SENSOR_3 == 0
449
-    #error TEMP_SENSOR_3 is required with 4 EXTRUDERS.
449
+    #error "TEMP_SENSOR_3 is required with 4 EXTRUDERS."
450 450
   #elif !HAS_HEATER_3
451
-    #error HEATER_3_PIN not defined for this board.
451
+    #error "HEATER_3_PIN not defined for this board."
452 452
   #elif !PIN_EXISTS(TEMP_3)
453
-    #error TEMP_3_PIN not defined for this board.
453
+    #error "TEMP_3_PIN not defined for this board."
454 454
   #elif !PIN_EXISTS(E3_STEP) || !PIN_EXISTS(E3_DIR) || !PIN_EXISTS(E3_ENABLE)
455
-    #error E3_STEP_PIN, E3_DIR_PIN, or E3_ENABLE_PIN not defined for this board.
455
+    #error "E3_STEP_PIN, E3_DIR_PIN, or E3_ENABLE_PIN not defined for this board."
456 456
   #endif
457 457
 #elif EXTRUDERS > 2
458 458
   #if TEMP_SENSOR_2 == 0
459
-    #error TEMP_SENSOR_2 is required with 3 or more EXTRUDERS.
459
+    #error "TEMP_SENSOR_2 is required with 3 or more EXTRUDERS."
460 460
   #elif !HAS_HEATER_2
461
-    #error HEATER_2_PIN not defined for this board.
461
+    #error "HEATER_2_PIN not defined for this board."
462 462
   #elif !PIN_EXISTS(TEMP_2)
463
-    #error TEMP_2_PIN not defined for this board.
463
+    #error "TEMP_2_PIN not defined for this board."
464 464
   #elif !PIN_EXISTS(E2_STEP) || !PIN_EXISTS(E2_DIR) || !PIN_EXISTS(E2_ENABLE)
465
-    #error E2_STEP_PIN, E2_DIR_PIN, or E2_ENABLE_PIN not defined for this board.
465
+    #error "E2_STEP_PIN, E2_DIR_PIN, or E2_ENABLE_PIN not defined for this board."
466 466
   #endif
467 467
 #elif EXTRUDERS > 1
468 468
   #if TEMP_SENSOR_1 == 0
469
-    #error TEMP_SENSOR_1 is required with 2 or more EXTRUDERS.
469
+    #error "TEMP_SENSOR_1 is required with 2 or more EXTRUDERS."
470 470
   #elif !PIN_EXISTS(TEMP_1)
471
-    #error TEMP_1_PIN not defined for this board.
471
+    #error "TEMP_1_PIN not defined for this board."
472 472
   #elif !PIN_EXISTS(E1_STEP) || !PIN_EXISTS(E1_DIR) || !PIN_EXISTS(E1_ENABLE)
473
-    #error E1_STEP_PIN, E1_DIR_PIN, or E1_ENABLE_PIN not defined for this board.
473
+    #error "E1_STEP_PIN, E1_DIR_PIN, or E1_ENABLE_PIN not defined for this board."
474 474
   #endif
475 475
 #endif
476 476
 
477 477
 #if EXTRUDERS > 1 || ENABLED(HEATERS_PARALLEL)
478 478
   #if !HAS_HEATER_1
479
-    #error HEATER_1_PIN not defined for this board.
479
+    #error "HEATER_1_PIN not defined for this board."
480 480
   #endif
481 481
 #endif
482 482
 
483 483
 #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT) && TEMP_SENSOR_1 == 0
484
-  #error TEMP_SENSOR_1 is required with TEMP_SENSOR_1_AS_REDUNDANT.
484
+  #error "TEMP_SENSOR_1 is required with TEMP_SENSOR_1_AS_REDUNDANT."
485 485
 #endif
486 486
 
487 487
 #if !HAS_HEATER_0
488
-  #error HEATER_0_PIN not defined for this board.
488
+  #error "HEATER_0_PIN not defined for this board."
489 489
 #elif !PIN_EXISTS(TEMP_0)
490
-  #error TEMP_0_PIN not defined for this board.
490
+  #error "TEMP_0_PIN not defined for this board."
491 491
 #elif !PIN_EXISTS(E0_STEP) || !PIN_EXISTS(E0_DIR) || !PIN_EXISTS(E0_ENABLE)
492
-  #error E0_STEP_PIN, E0_DIR_PIN, or E0_ENABLE_PIN not defined for this board.
492
+  #error "E0_STEP_PIN, E0_DIR_PIN, or E0_ENABLE_PIN not defined for this board."
493 493
 #elif TEMP_SENSOR_0 == 0
494
-  #error TEMP_SENSOR_0 is required.
494
+  #error "TEMP_SENSOR_0 is required."
495 495
 #endif
496 496
 
497 497
 /**
498 498
  * Endstops
499 499
  */
500 500
 #if DISABLED(USE_XMIN_PLUG) && DISABLED(USE_XMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _XMAX_ && Z2_USE_ENDSTOP <= _XMIN_)
501
- #error You must enable USE_XMIN_PLUG or USE_XMAX_PLUG
501
+ #error "You must enable USE_XMIN_PLUG or USE_XMAX_PLUG"
502 502
 #elif DISABLED(USE_YMIN_PLUG) && DISABLED(USE_YMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _YMAX_ && Z2_USE_ENDSTOP <= _YMIN_)
503
- #error You must enable USE_YMIN_PLUG or USE_YMAX_PLUG
503
+ #error "You must enable USE_YMIN_PLUG or USE_YMAX_PLUG"
504 504
 #elif DISABLED(USE_ZMIN_PLUG) && DISABLED(USE_ZMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _ZMAX_ && Z2_USE_ENDSTOP <= _ZMIN_)
505
- #error You must enable USE_ZMIN_PLUG or USE_ZMAX_PLUG
505
+ #error "You must enable USE_ZMIN_PLUG or USE_ZMAX_PLUG"
506 506
 #elif ENABLED(Z_DUAL_ENDSTOPS) && !Z2_USE_ENDSTOP
507
- #error You must set Z2_USE_ENDSTOP with Z_DUAL_ENDSTOPS
507
+ #error "You must set Z2_USE_ENDSTOP with Z_DUAL_ENDSTOPS"
508 508
 #endif
509 509
 
510 510
 /**
511 511
  * Warnings for old configurations
512 512
  */
513 513
 #if WATCH_TEMP_PERIOD > 500
514
-  #error WATCH_TEMP_PERIOD now uses seconds instead of milliseconds.
514
+  #error "WATCH_TEMP_PERIOD now uses seconds instead of milliseconds."
515 515
 #elif DISABLED(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD))
516
-  #error Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS.
516
+  #error "Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS."
517 517
 #elif DISABLED(THERMAL_PROTECTION_BED) && defined(THERMAL_PROTECTION_BED_PERIOD)
518
-  #error Thermal Runaway Protection for the bed is now enabled with THERMAL_PROTECTION_BED.
518
+  #error "Thermal Runaway Protection for the bed is now enabled with THERMAL_PROTECTION_BED."
519 519
 #elif ENABLED(COREXZ) && ENABLED(Z_LATE_ENABLE)
520 520
   #error "Z_LATE_ENABLE can't be used with COREXZ."
521 521
 #elif defined(X_HOME_RETRACT_MM)
522
-  #error [XYZ]_HOME_RETRACT_MM settings have been renamed [XYZ]_HOME_BUMP_MM.
522
+  #error "[XYZ]_HOME_RETRACT_MM settings have been renamed [XYZ]_HOME_BUMP_MM."
523 523
 #elif defined(PROBE_SERVO_DEACTIVATION_DELAY)
524
-  #error PROBE_SERVO_DEACTIVATION_DELAY has been replaced with DEACTIVATE_SERVOS_AFTER_MOVE and SERVO_DEACTIVATION_DELAY.
524
+  #error "PROBE_SERVO_DEACTIVATION_DELAY has been replaced with DEACTIVATE_SERVOS_AFTER_MOVE and SERVO_DEACTIVATION_DELAY."
525 525
 #elif defined(BEEPER)
526
-  #error BEEPER is now BEEPER_PIN. Please update your pins definitions.
526
+  #error "BEEPER is now BEEPER_PIN. Please update your pins definitions."
527 527
 #elif defined(SDCARDDETECT)
528
-  #error SDCARDDETECT is now SD_DETECT_PIN. Please update your pins definitions.
528
+  #error "SDCARDDETECT is now SD_DETECT_PIN. Please update your pins definitions."
529 529
 #elif defined(SDCARDDETECTINVERTED)
530
-  #error SDCARDDETECTINVERTED is now SD_DETECT_INVERTED. Please update your configuration.
530
+  #error "SDCARDDETECTINVERTED is now SD_DETECT_INVERTED. Please update your configuration."
531 531
 #elif defined(BTENABLED)
532
-  #error BTENABLED is now BLUETOOTH. Please update your configuration.
532
+  #error "BTENABLED is now BLUETOOTH. Please update your configuration."
533 533
 #elif defined(CUSTOM_MENDEL_NAME)
534
-  #error CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME. Please update your configuration.
534
+  #error "CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME. Please update your configuration."
535 535
 #elif defined(HAS_AUTOMATIC_VERSIONING)
536
-  #error HAS_AUTOMATIC_VERSIONING is now USE_AUTOMATIC_VERSIONING. Please update your configuration.
536
+  #error "HAS_AUTOMATIC_VERSIONING is now USE_AUTOMATIC_VERSIONING. Please update your configuration."
537 537
 #elif defined(ENABLE_AUTO_BED_LEVELING)
538
-  #error ENABLE_AUTO_BED_LEVELING is now AUTO_BED_LEVELING_FEATURE. Please update your configuration.
538
+  #error "ENABLE_AUTO_BED_LEVELING is now AUTO_BED_LEVELING_FEATURE. Please update your configuration."
539 539
 #elif defined(SDSLOW)
540
-  #error SDSLOW deprecated. Set SPI_SPEED to SPI_HALF_SPEED instead.
540
+  #error "SDSLOW deprecated. Set SPI_SPEED to SPI_HALF_SPEED instead."
541 541
 #elif defined(SDEXTRASLOW)
542
-  #error SDEXTRASLOW deprecated. Set SPI_SPEED to SPI_QUARTER_SPEED instead.
542
+  #error "SDEXTRASLOW deprecated. Set SPI_SPEED to SPI_QUARTER_SPEED instead."
543 543
 #elif defined(Z_RAISE_BEFORE_HOMING)
544
-  #error Z_RAISE_BEFORE_HOMING is deprecated. Use MIN_Z_HEIGHT_FOR_HOMING instead.
544
+  #error "Z_RAISE_BEFORE_HOMING is deprecated. Use MIN_Z_HEIGHT_FOR_HOMING instead."
545 545
 #elif defined(FILAMENT_SENSOR)
546
-  #error FILAMENT_SENSOR is deprecated. Use FILAMENT_WIDTH_SENSOR instead.
546
+  #error "FILAMENT_SENSOR is deprecated. Use FILAMENT_WIDTH_SENSOR instead."
547 547
 #elif defined(DISABLE_MAX_ENDSTOPS) || defined(DISABLE_MIN_ENDSTOPS)
548
-  #error DISABLE_MAX_ENDSTOPS and DISABLE_MIN_ENDSTOPS deprecated. Use individual USE_*_PLUG options instead.
548
+  #error "DISABLE_MAX_ENDSTOPS and DISABLE_MIN_ENDSTOPS deprecated. Use individual USE_*_PLUG options instead."
549 549
 #elif ENABLED(Z_DUAL_ENDSTOPS) && !defined(Z2_USE_ENDSTOP)
550
-  #error Z_DUAL_ENDSTOPS settings are simplified. Just set Z2_USE_ENDSTOP to the endstop you want to repurpose for Z2
550
+  #error "Z_DUAL_ENDSTOPS settings are simplified. Just set Z2_USE_ENDSTOP to the endstop you want to repurpose for Z2"
551 551
 #elif defined(LANGUAGE_INCLUDE)
552
-  #error LANGUAGE_INCLUDE has been replaced by LCD_LANGUAGE. Please update your configuration.
552
+  #error "LANGUAGE_INCLUDE has been replaced by LCD_LANGUAGE. Please update your configuration."
553 553
 #endif
554 554
 
555 555
 #endif //SANITYCHECK_H

+ 1
- 1
Marlin/Sd2Card.cpp View File

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

+ 1
- 1
Marlin/Sd2PinMap.h View File

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

+ 1
- 1
Marlin/fastio.h View File

@@ -4038,7 +4038,7 @@
4038 4038
 #endif
4039 4039
 
4040 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 4042
 #endif
4043 4043
 
4044 4044
 #endif /* _FASTIO_ARDUINO_H */

+ 1
- 1
Marlin/pins.h View File

@@ -154,7 +154,7 @@
154 154
 #elif MB(SAINSMART_2IN1)
155 155
   #include "pins_SAINSMART_2IN1.h"
156 156
 #else
157
-  #error Unknown MOTHERBOARD value set in Configuration.h
157
+  #error "Unknown MOTHERBOARD value set in Configuration.h"
158 158
 #endif
159 159
 
160 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,7 +27,7 @@
27 27
  */
28 28
 
29 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 31
 #endif
32 32
 
33 33
 #define DEFAULT_MACHINE_NAME "Makibox"

+ 1
- 1
Marlin/pins_A4JP.h View File

@@ -25,7 +25,7 @@
25 25
  ************************************************/
26 26
 
27 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 29
 #endif
30 30
 
31 31
 // Servo support

+ 1
- 1
Marlin/pins_BQ_ZUM_MEGA_3D.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #include "pins_RAMPS_13.h"

+ 1
- 1
Marlin/pins_BRAINWAVE.h View File

@@ -28,7 +28,7 @@
28 28
  */
29 29
 
30 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 32
 #endif
33 33
 
34 34
 #define X_STEP_PIN         27

+ 2
- 2
Marlin/pins_BRAINWAVE_PRO.h View File

@@ -28,13 +28,13 @@
28 28
  */
29 29
 
30 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 32
 #endif
33 33
 
34 34
 #include "fastio.h"
35 35
 
36 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 38
 #endif
39 39
 
40 40
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_CHEAPTRONIC.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_ELEFU_3.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define X_STEP_PIN         49

+ 1
- 1
Marlin/pins_GEN3_MONOLITHIC.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define DEBUG_PIN 0

+ 1
- 1
Marlin/pins_GEN3_PLUS.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define X_STEP_PIN         15

+ 1
- 1
Marlin/pins_GEN6.h View File

@@ -26,7 +26,7 @@
26 26
 
27 27
 #ifndef __AVR_ATmega644P__
28 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 30
   #endif
31 31
 #endif
32 32
 

+ 1
- 1
Marlin/pins_GEN7_12.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #ifndef GEN7_VERSION

+ 1
- 1
Marlin/pins_GEN7_14.h View File

@@ -27,7 +27,7 @@
27 27
 #define GEN7_VERSION 14 // v1.4
28 28
 
29 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 31
 #endif
32 32
 
33 33
 //x axis pins

+ 1
- 1
Marlin/pins_GEN7_CUSTOM.h View File

@@ -28,7 +28,7 @@
28 28
  */
29 29
 
30 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 32
 #endif
33 33
 
34 34
 //x axis pins

+ 1
- 1
Marlin/pins_LEAPFROG.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define X_STEP_PIN         28

+ 2
- 2
Marlin/pins_MEGACONTROLLER.h View File

@@ -25,11 +25,11 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 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 33
 #endif
34 34
 
35 35
 #define SERVO0_PIN 30

+ 1
- 1
Marlin/pins_MEGATRONICS.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_MEGATRONICS_2.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_MEGATRONICS_3.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_MINIRAMBO.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define LARGE_FLASH         true

+ 1
- 1
Marlin/pins_MINITRONICS.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_OMCA.h View File

@@ -52,7 +52,7 @@
52 52
  */
53 53
 
54 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 56
 #endif
57 57
 
58 58
 #define X_STEP_PIN         26

+ 1
- 1
Marlin/pins_OMCA_A.h View File

@@ -51,7 +51,7 @@
51 51
  */
52 52
 
53 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 55
 #endif
56 56
 
57 57
 #define X_STEP_PIN         21

+ 2
- 2
Marlin/pins_PRINTRBOARD.h View File

@@ -28,11 +28,11 @@
28 28
  */
29 29
 
30 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 32
 #endif
33 33
 
34 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 36
 #endif
37 37
 
38 38
 #define LARGE_FLASH        true

+ 2
- 2
Marlin/pins_PRINTRBOARD_REVF.h View File

@@ -28,11 +28,11 @@
28 28
  */
29 29
 
30 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 32
 #endif
33 33
 
34 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 36
 #endif
37 37
 
38 38
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_RAMBO.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define LARGE_FLASH true

+ 1
- 1
Marlin/pins_RAMPS_14.h View File

@@ -45,7 +45,7 @@
45 45
  */
46 46
 
47 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 49
 #endif
50 50
 
51 51
 #define LARGE_FLASH true

+ 1
- 1
Marlin/pins_RAMPS_OLD.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 // Uncomment the following line for RAMPS v1.0

+ 2
- 2
Marlin/pins_RUMBA.h View File

@@ -25,11 +25,11 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 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 33
 #endif
34 34
 
35 35
 #define DEFAULT_MACHINE_NAME "Rumba"

+ 1
- 1
Marlin/pins_SANGUINOLOLU_11.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define X_STEP_PIN         15

+ 1
- 1
Marlin/pins_SAV_MKI.h View File

@@ -28,7 +28,7 @@
28 28
  */
29 29
 
30 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 32
 #endif
33 33
 
34 34
 #define DEFAULT_MACHINE_NAME    "SAV MkI"

+ 1
- 1
Marlin/pins_SETHI.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #ifndef GEN7_VERSION

+ 2
- 2
Marlin/pins_TEENSY2.h View File

@@ -66,11 +66,11 @@
66 66
  */
67 67
 
68 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 70
 #endif
71 71
 
72 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 74
   // (or build from command line)
75 75
 #endif
76 76
 

+ 2
- 2
Marlin/pins_TEENSYLU.h View File

@@ -28,11 +28,11 @@
28 28
  */
29 29
 
30 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 32
 #endif
33 33
 
34 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 36
 #endif
37 37
 
38 38
 #define LARGE_FLASH        true

+ 1
- 1
Marlin/pins_ULTIMAIN_2.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define DEFAULT_MACHINE_NAME    "Ultimaker"

+ 1
- 1
Marlin/pins_ULTIMAKER.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define DEFAULT_MACHINE_NAME    "Ultimaker"

+ 1
- 1
Marlin/pins_ULTIMAKER_OLD.h View File

@@ -25,7 +25,7 @@
25 25
  */
26 26
 
27 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 29
 #endif
30 30
 
31 31
 #define DEFAULT_MACHINE_NAME    "Ultimaker"

+ 5
- 5
Marlin/thermistortables.h View File

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

+ 5
- 5
Marlin/utf_mapper.h View File

@@ -74,7 +74,7 @@
74 74
   //          ヰ    ヱ    ヲ    ン    フ    ?    ?   ?    ?    ?    ヲ    ・    ー    ヽ    ヽ   ?
75 75
            };
76 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 78
     #endif
79 79
 
80 80
   #elif DISPLAY_CHARSET_HD44780 == WESTERN
@@ -108,7 +108,7 @@
108 108
   //          p    c    T    y    Ф    x    Ч    ч    Ш    Щ    Ъ    Ы    b    Э    Ю    Я
109 109
             };
110 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 112
     #endif
113 113
 
114 114
   #elif DISPLAY_CHARSET_HD44780 == CYRILLIC
@@ -135,12 +135,12 @@
135 135
              // ш    щ    ъ    ы    ь    э    ю    я      // 7  Ѱ ѱ Ѳ ѳ Ѵ ѵ Ѷ ѷ
136 136
              };                                           //    ѻ ѹ Ѻ ѻ Ѽ ѽ Ѿ ѿ
137 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 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 141
     #endif
142 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 144
   #endif // DISPLAY_CHARSET_HD44780
145 145
 #endif // SIMULATE_ROMFONT
146 146
 

Loading…
Cancel
Save