Ver código fonte

Merge pull request #4109 from esenapaj/Enclose-#error-string-by-double-quotes

Enclose #error string by double-quotes
Scott Lahteine 9 anos atrás
pai
commit
c8186e9423
1 arquivos alterados com 7 adições e 7 exclusões
  1. 7
    7
      Marlin/SanityCheck.h

+ 7
- 7
Marlin/SanityCheck.h Ver arquivo

45
  * will force a minimum config file revision, otherwise Marlin will not build.
45
  * will force a minimum config file revision, otherwise Marlin will not build.
46
  */
46
  */
47
 #if ! defined(CONFIGURATION_H_VERSION) || CONFIGURATION_H_VERSION < REQUIRED_CONFIGURATION_H_VERSION
47
 #if ! defined(CONFIGURATION_H_VERSION) || CONFIGURATION_H_VERSION < REQUIRED_CONFIGURATION_H_VERSION
48
-  #error You are using an old Configuration.h file, update it before building Marlin.
48
+  #error "You are using an old Configuration.h file, update it before building Marlin."
49
 #endif
49
 #endif
50
 
50
 
51
 #if ! defined(CONFIGURATION_ADV_H_VERSION) || CONFIGURATION_ADV_H_VERSION < REQUIRED_CONFIGURATION_ADV_H_VERSION
51
 #if ! defined(CONFIGURATION_ADV_H_VERSION) || CONFIGURATION_ADV_H_VERSION < REQUIRED_CONFIGURATION_ADV_H_VERSION
52
-  #error You are using an old Configuration_adv.h file, update it before building Marlin.
52
+  #error "You are using an old Configuration_adv.h file, update it before building Marlin."
53
 #endif
53
 #endif
54
 
54
 
55
 /**
55
 /**
146
  * Individual axis homing is useless for DELTAS
146
  * Individual axis homing is useless for DELTAS
147
  */
147
  */
148
 #if ENABLED(INDIVIDUAL_AXIS_HOMING_MENU) && ENABLED(DELTA)
148
 #if ENABLED(INDIVIDUAL_AXIS_HOMING_MENU) && ENABLED(DELTA)
149
-  #error INDIVIDUAL_AXIS_HOMING_MENU is incompatible with DELTA kinematics.
149
+  #error "INDIVIDUAL_AXIS_HOMING_MENU is incompatible with DELTA kinematics."
150
 #endif
150
 #endif
151
 
151
 
152
 /**
152
 /**
371
  * Advance Extrusion
371
  * Advance Extrusion
372
  */
372
  */
373
 #if ENABLED(ADVANCE) && ENABLED(LIN_ADVANCE)
373
 #if ENABLED(ADVANCE) && ENABLED(LIN_ADVANCE)
374
-  #error You can enable ADVANCE or LIN_ADVANCE, but not both.
374
+  #error "You can enable ADVANCE or LIN_ADVANCE, but not both."
375
 #endif
375
 #endif
376
 
376
 
377
 /**
377
 /**
545
  */
545
  */
546
 #if EXTRUDERS > 3
546
 #if EXTRUDERS > 3
547
   #if !PIN_EXISTS(E3_STEP) || !PIN_EXISTS(E3_DIR) || !PIN_EXISTS(E3_ENABLE)
547
   #if !PIN_EXISTS(E3_STEP) || !PIN_EXISTS(E3_DIR) || !PIN_EXISTS(E3_ENABLE)
548
-    #error E3_STEP_PIN, E3_DIR_PIN, or E3_ENABLE_PIN not defined for this board.
548
+    #error "E3_STEP_PIN, E3_DIR_PIN, or E3_ENABLE_PIN not defined for this board."
549
   #endif
549
   #endif
550
 #elif EXTRUDERS > 2
550
 #elif EXTRUDERS > 2
551
   #if !PIN_EXISTS(E2_STEP) || !PIN_EXISTS(E2_DIR) || !PIN_EXISTS(E2_ENABLE)
551
   #if !PIN_EXISTS(E2_STEP) || !PIN_EXISTS(E2_DIR) || !PIN_EXISTS(E2_ENABLE)
552
-    #error E2_STEP_PIN, E2_DIR_PIN, or E2_ENABLE_PIN not defined for this board.
552
+    #error "E2_STEP_PIN, E2_DIR_PIN, or E2_ENABLE_PIN not defined for this board."
553
   #endif
553
   #endif
554
 #elif EXTRUDERS > 1
554
 #elif EXTRUDERS > 1
555
   #if !PIN_EXISTS(E1_STEP) || !PIN_EXISTS(E1_DIR) || !PIN_EXISTS(E1_ENABLE)
555
   #if !PIN_EXISTS(E1_STEP) || !PIN_EXISTS(E1_DIR) || !PIN_EXISTS(E1_ENABLE)
556
-    #error E1_STEP_PIN, E1_DIR_PIN, or E1_ENABLE_PIN not defined for this board.
556
+    #error "E1_STEP_PIN, E1_DIR_PIN, or E1_ENABLE_PIN not defined for this board."
557
   #endif
557
   #endif
558
 #endif
558
 #endif
559
 
559
 

Carregando…
Cancelar
Salvar