Browse Source

Apply #pragma once to configuration files

Scott Lahteine 5 years ago
parent
commit
9e663a624b
100 changed files with 99 additions and 396 deletions
  1. 1
    4
      Marlin/Configuration.h
  2. 1
    4
      Marlin/Configuration_adv.h
  3. 1
    4
      Marlin/src/config/default/Configuration.h
  4. 1
    4
      Marlin/src/config/default/Configuration_adv.h
  5. 1
    4
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  6. 1
    4
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  7. 1
    4
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  8. 1
    4
      Marlin/src/config/examples/Anet/A2/Configuration.h
  9. 1
    4
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  10. 1
    4
      Marlin/src/config/examples/Anet/A2plus/Configuration.h
  11. 1
    4
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  12. 1
    4
      Marlin/src/config/examples/Anet/A6/Configuration.h
  13. 1
    4
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  14. 1
    4
      Marlin/src/config/examples/Anet/A8/Configuration.h
  15. 1
    4
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  16. 1
    4
      Marlin/src/config/examples/ArmEd/Configuration.h
  17. 1
    4
      Marlin/src/config/examples/ArmEd/Configuration_adv.h
  18. 1
    4
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  19. 1
    4
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  20. 1
    4
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  21. 1
    4
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  22. 1
    4
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  23. 1
    4
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  24. 1
    4
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  25. 1
    4
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  26. 1
    4
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  27. 1
    4
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  28. 1
    4
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  29. 1
    4
      Marlin/src/config/examples/Cartesio/Configuration.h
  30. 1
    4
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  31. 1
    4
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  32. 1
    4
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  33. 1
    4
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  34. 1
    4
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  35. 1
    4
      Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
  36. 1
    4
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  37. 1
    4
      Marlin/src/config/examples/Creality/CR-8/Configuration.h
  38. 1
    4
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  39. 1
    4
      Marlin/src/config/examples/Creality/Ender-2/Configuration.h
  40. 1
    4
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  41. 1
    4
      Marlin/src/config/examples/Creality/Ender-3/Configuration.h
  42. 1
    4
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  43. 1
    4
      Marlin/src/config/examples/Creality/Ender-4/Configuration.h
  44. 1
    4
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  45. 1
    4
      Marlin/src/config/examples/Einstart-S/Configuration.h
  46. 1
    4
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  47. 1
    4
      Marlin/src/config/examples/Felix/Configuration.h
  48. 1
    4
      Marlin/src/config/examples/Felix/Configuration_adv.h
  49. 1
    4
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  50. 1
    4
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  51. 1
    4
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  52. 1
    4
      Marlin/src/config/examples/Formbot/Raptor/Configuration.h
  53. 1
    4
      Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  54. 1
    4
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h
  55. 1
    4
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  56. 1
    4
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
  57. 1
    4
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  58. 1
    4
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  59. 1
    4
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  60. 1
    4
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h
  61. 1
    4
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
  62. 1
    4
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  63. 1
    4
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  64. 1
    4
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  65. 1
    4
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  66. 1
    4
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  67. 1
    4
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  68. 1
    4
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  69. 1
    4
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  70. 1
    4
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  71. 1
    4
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  72. 1
    4
      Marlin/src/config/examples/MakerParts/Configuration.h
  73. 1
    4
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  74. 1
    4
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  75. 1
    4
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  76. 1
    4
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  77. 1
    4
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  78. 1
    4
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  79. 1
    4
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  80. 1
    4
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  81. 1
    4
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  82. 1
    4
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  83. 1
    4
      Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
  84. 1
    4
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  85. 1
    4
      Marlin/src/config/examples/RigidBot/Configuration.h
  86. 1
    4
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  87. 1
    4
      Marlin/src/config/examples/SCARA/Configuration.h
  88. 1
    4
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  89. 1
    4
      Marlin/src/config/examples/STM32F10/Configuration.h
  90. 1
    4
      Marlin/src/config/examples/STM32F4/Configuration.h
  91. 1
    4
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  92. 1
    4
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  93. 1
    4
      Marlin/src/config/examples/TheBorg/Configuration.h
  94. 1
    4
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  95. 1
    4
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  96. 1
    4
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  97. 1
    4
      Marlin/src/config/examples/Tronxy/X1/Configuration.h
  98. 1
    4
      Marlin/src/config/examples/Tronxy/X3A/Configuration.h
  99. 1
    4
      Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  100. 0
    0
      Marlin/src/config/examples/Tronxy/X5S/Configuration.h

+ 1
- 4
Marlin/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1831,5 +1830,3 @@
1831 1830
 
1832 1831
 // Enable Marlin dev mode which adds some special commands
1833 1832
 //#define MARLIN_DEV_MODE
1834
-
1835
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/default/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/default/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1831,5 +1830,3 @@
1831 1830
 
1832 1831
 // Enable Marlin dev mode which adds some special commands
1833 1832
 //#define MARLIN_DEV_MODE
1834
-
1835
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2051,5 +2050,3 @@
2051 2050
 
2052 2051
 // Allow servo angle to be edited and saved to EEPROM
2053 2052
 //#define EDITABLE_SERVO_ANGLES
2054
-
2055
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Anet/A2/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2033,5 +2032,3 @@
2033 2032
 
2034 2033
 // Allow servo angle to be edited and saved to EEPROM
2035 2034
 //#define EDITABLE_SERVO_ANGLES
2036
-
2037
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Anet/A2/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Anet/A2plus/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2033,5 +2032,3 @@
2033 2032
 
2034 2033
 // Allow servo angle to be edited and saved to EEPROM
2035 2034
 //#define EDITABLE_SERVO_ANGLES
2036
-
2037
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Anet/A6/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2186,5 +2185,3 @@
2186 2185
 
2187 2186
 // Allow servo angle to be edited and saved to EEPROM
2188 2187
 //#define EDITABLE_SERVO_ANGLES
2189
-
2190
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Anet/A6/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1829,5 +1828,3 @@
1829 1828
 
1830 1829
 // Enable Marlin dev mode which adds some special commands
1831 1830
 //#define MARLIN_DEV_MODE
1832
-
1833
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Anet/A8/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2040,5 +2039,3 @@
2040 2039
 
2041 2040
 // Allow servo angle to be edited and saved to EEPROM
2042 2041
 //#define EDITABLE_SERVO_ANGLES
2043
-
2044
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Anet/A8/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/ArmEd/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2032,5 +2031,3 @@
2032 2031
 
2033 2032
 // Allow servo angle to be edited and saved to EEPROM
2034 2033
 //#define EDITABLE_SERVO_ANGLES
2035
-
2036
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/ArmEd/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1807,5 +1806,3 @@
1807 1806
 
1808 1807
 // Enable Marlin dev mode which adds some special commands
1809 1808
 //#define MARLIN_DEV_MODE
1810
-
1811
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1829,5 +1828,3 @@
1829 1828
 
1830 1829
 // Enable Marlin dev mode which adds some special commands
1831 1830
 //#define MARLIN_DEV_MODE
1832
-
1833
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/BQ/Hephestos/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2019,5 +2018,3 @@
2019 2018
 
2020 2019
 // Allow servo angle to be edited and saved to EEPROM
2021 2020
 //#define EDITABLE_SERVO_ANGLES
2022
-
2023
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1837,5 +1836,3 @@
1837 1836
 
1838 1837
 // Enable Marlin dev mode which adds some special commands
1839 1838
 //#define MARLIN_DEV_MODE
1840
-
1841
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/BQ/WITBOX/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2019,5 +2018,3 @@
2019 2018
 
2020 2019
 // Allow servo angle to be edited and saved to EEPROM
2021 2020
 //#define EDITABLE_SERVO_ANGLES
2022
-
2023
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Cartesio/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2030,5 +2029,3 @@
2030 2029
 
2031 2030
 // Allow servo angle to be edited and saved to EEPROM
2032 2031
 //#define EDITABLE_SERVO_ANGLES
2033
-
2034
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Cartesio/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Creality/CR-10/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2041,5 +2040,3 @@
2041 2040
 
2042 2041
 // Allow servo angle to be edited and saved to EEPROM
2043 2042
 //#define EDITABLE_SERVO_ANGLES
2044
-
2045
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1833,5 +1832,3 @@
1833 1832
 
1834 1833
 // Enable Marlin dev mode which adds some special commands
1835 1834
 //#define MARLIN_DEV_MODE
1836
-
1837
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Creality/CR-10S/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2032,5 +2031,3 @@
2032 2031
 
2033 2032
 // Allow servo angle to be edited and saved to EEPROM
2034 2033
 //#define EDITABLE_SERVO_ANGLES
2035
-
2036
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -44,8 +45,6 @@
44 45
  * CR10_STOCKDISPLAY (RAMPS-compatible with single 10-pin plug)
45 46
  */
46 47
 
47
-#ifndef CONFIGURATION_H
48
-#define CONFIGURATION_H
49 48
 #define CONFIGURATION_H_VERSION 020000
50 49
 
51 50
 //===========================================================================
@@ -2050,5 +2049,3 @@
2050 2049
 
2051 2050
 // Allow servo angle to be edited and saved to EEPROM
2052 2051
 //#define EDITABLE_SERVO_ANGLES
2053
-
2054
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Creality/CR-8/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2041,5 +2040,3 @@
2041 2040
 
2042 2041
 // Allow servo angle to be edited and saved to EEPROM
2043 2042
 //#define EDITABLE_SERVO_ANGLES
2044
-
2045
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Creality/Ender-2/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2035,5 +2034,3 @@
2035 2034
 
2036 2035
 // Allow servo angle to be edited and saved to EEPROM
2037 2036
 //#define EDITABLE_SERVO_ANGLES
2038
-
2039
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Creality/Ender-3/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2035,5 +2034,3 @@
2035 2034
 
2036 2035
 // Allow servo angle to be edited and saved to EEPROM
2037 2036
 //#define EDITABLE_SERVO_ANGLES
2038
-
2039
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Creality/Ender-4/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2041,5 +2040,3 @@
2041 2040
 
2042 2041
 // Allow servo angle to be edited and saved to EEPROM
2043 2042
 //#define EDITABLE_SERVO_ANGLES
2044
-
2045
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Einstart-S/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2037,5 +2036,3 @@
2037 2036
 
2038 2037
 // Allow servo angle to be edited and saved to EEPROM
2039 2038
 //#define EDITABLE_SERVO_ANGLES
2040
-
2041
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Einstart-S/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Felix/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2013,5 +2012,3 @@
2013 2012
 
2014 2013
 // Allow servo angle to be edited and saved to EEPROM
2015 2014
 //#define EDITABLE_SERVO_ANGLES
2016
-
2017
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Felix/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Felix/DUAL/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2013,5 +2012,3 @@
2013 2012
 
2014 2013
 // Allow servo angle to be edited and saved to EEPROM
2015 2014
 //#define EDITABLE_SERVO_ANGLES
2016
-
2017
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2037,5 +2036,3 @@
2037 2036
 
2038 2037
 // Allow servo angle to be edited and saved to EEPROM
2039 2038
 //#define EDITABLE_SERVO_ANGLES
2040
-
2041
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1838,5 +1837,3 @@
1838 1837
 
1839 1838
 // Enable Marlin dev mode which adds some special commands
1840 1839
 //#define MARLIN_DEV_MODE
1841
-
1842
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Formbot/Raptor/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2137,5 +2136,3 @@
2137 2136
 
2138 2137
 // Allow servo angle to be edited and saved to EEPROM
2139 2138
 //#define EDITABLE_SERVO_ANGLES
2140
-
2141
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1834,5 +1833,3 @@
1834 1833
 
1835 1834
 // Enable Marlin dev mode which adds some special commands
1836 1835
 //#define MARLIN_DEV_MODE
1837
-
1838
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 //#define ROXYs_TRex         // Turn this on to get customizations only available on Roxy's T-Rex 2+
24 25
                              // Marlin controlled heat bed, Max7219 debug LED's, less bright LED light level
@@ -38,8 +39,6 @@
38 39
  * Advanced settings can be found in Configuration_adv.h
39 40
  *
40 41
  */
41
-#ifndef CONFIGURATION_H
42
-#define CONFIGURATION_H
43 42
 #define CONFIGURATION_H_VERSION 020000
44 43
 
45 44
 //===========================================================================
@@ -2078,5 +2077,3 @@
2078 2077
 
2079 2078
 // Allow servo angle to be edited and saved to EEPROM
2080 2079
 //#define EDITABLE_SERVO_ANGLES
2081
-
2082
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1840,5 +1839,3 @@
1840 1839
 
1841 1840
 // Enable Marlin dev mode which adds some special commands
1842 1841
 //#define MARLIN_DEV_MODE
1843
-
1844
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2064,5 +2063,3 @@
2064 2063
 
2065 2064
 // Allow servo angle to be edited and saved to EEPROM
2066 2065
 //#define EDITABLE_SERVO_ANGLES
2067
-
2068
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1840,5 +1839,3 @@
1840 1839
 
1841 1840
 // Enable Marlin dev mode which adds some special commands
1842 1841
 //#define MARLIN_DEV_MODE
1843
-
1844
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2055,5 +2054,3 @@
2055 2054
 
2056 2055
 // Allow servo angle to be edited and saved to EEPROM
2057 2056
 //#define EDITABLE_SERVO_ANGLES
2058
-
2059
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2038,5 +2037,3 @@
2038 2037
 
2039 2038
 // Allow servo angle to be edited and saved to EEPROM
2040 2039
 //#define EDITABLE_SERVO_ANGLES
2041
-
2042
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1816,5 +1815,3 @@
1816 1815
 
1817 1816
 // Enable Marlin dev mode which adds some special commands
1818 1817
 //#define MARLIN_DEV_MODE
1819
-
1820
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2047,5 +2046,3 @@
2047 2046
 
2048 2047
 // Allow servo angle to be edited and saved to EEPROM
2049 2048
 //#define EDITABLE_SERVO_ANGLES
2050
-
2051
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2046,5 +2045,3 @@
2046 2045
 
2047 2046
 // Allow servo angle to be edited and saved to EEPROM
2048 2047
 //#define EDITABLE_SERVO_ANGLES
2049
-
2050
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2035,5 +2034,3 @@
2035 2034
 
2036 2035
 // Allow servo angle to be edited and saved to EEPROM
2037 2036
 //#define EDITABLE_SERVO_ANGLES
2038
-
2039
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/JGAurora/A5/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * JGAurora A5 configuration
@@ -40,8 +41,6 @@
40 41
  * Advanced settings can be found in Configuration_adv.h
41 42
  *
42 43
  */
43
-#ifndef CONFIGURATION_H
44
-#define CONFIGURATION_H
45 44
 #define CONFIGURATION_H_VERSION 020000
46 45
 
47 46
 //===========================================================================
@@ -2042,5 +2041,3 @@
2042 2041
 
2043 2042
 // Allow servo angle to be edited and saved to EEPROM
2044 2043
 //#define EDITABLE_SERVO_ANGLES
2045
-
2046
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/MakerParts/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2051,5 +2050,3 @@
2051 2050
 
2052 2051
 // Allow servo angle to be edited and saved to EEPROM
2053 2052
 //#define EDITABLE_SERVO_ANGLES
2054
-
2055
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/MakerParts/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Malyan/M150/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Maylan M150 Configuration
@@ -40,8 +41,6 @@
40 41
  * Advanced settings can be found in Configuration_adv.h
41 42
  *
42 43
  */
43
-#ifndef CONFIGURATION_H
44
-#define CONFIGURATION_H
45 44
 #define CONFIGURATION_H_VERSION 020000
46 45
 
47 46
 //===========================================================================
@@ -2059,5 +2058,3 @@
2059 2058
 
2060 2059
 // Allow servo angle to be edited and saved to EEPROM
2061 2060
 //#define EDITABLE_SERVO_ANGLES
2062
-
2063
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Malyan/M200/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2030,5 +2029,3 @@
2030 2029
 
2031 2030
 // Allow servo angle to be edited and saved to EEPROM
2032 2031
 //#define EDITABLE_SERVO_ANGLES
2033
-
2034
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2035,5 +2034,3 @@
2035 2034
 
2036 2035
 // Allow servo angle to be edited and saved to EEPROM
2037 2036
 //#define EDITABLE_SERVO_ANGLES
2038
-
2039
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2035,5 +2034,3 @@
2035 2034
 
2036 2035
 // Allow servo angle to be edited and saved to EEPROM
2037 2036
 //#define EDITABLE_SERVO_ANGLES
2038
-
2039
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Mks/Sbase/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1838,5 +1837,3 @@
1838 1837
 
1839 1838
 // Enable Marlin dev mode which adds some special commands
1840 1839
 //#define MARLIN_DEV_MODE
1841
-
1842
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2080,5 +2079,3 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
2080 2079
 
2081 2080
 // Allow servo angle to be edited and saved to EEPROM
2082 2081
 //#define EDITABLE_SERVO_ANGLES
2083
-
2084
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/RigidBot/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/RigidBot/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/SCARA/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2044,5 +2043,3 @@
2044 2043
 
2045 2044
 // Allow servo angle to be edited and saved to EEPROM
2046 2045
 //#define EDITABLE_SERVO_ANGLES
2047
-
2048
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/SCARA/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/STM32F10/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2033,5 +2032,3 @@
2033 2032
 
2034 2033
 // Allow servo angle to be edited and saved to EEPROM
2035 2034
 //#define EDITABLE_SERVO_ANGLES
2036
-
2037
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/STM32F4/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Sanguinololu/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2062,5 +2061,3 @@
2062 2061
 
2063 2062
 // Allow servo angle to be edited and saved to EEPROM
2064 2063
 //#define EDITABLE_SERVO_ANGLES
2065
-
2066
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/TheBorg/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/TheBorg/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/TinyBoy2/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 /**
@@ -2087,5 +2086,3 @@
2087 2086
 
2088 2087
 // Allow servo angle to be edited and saved to EEPROM
2089 2088
 //#define EDITABLE_SERVO_ANGLES
2090
-
2091
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 1
- 4
Marlin/src/config/examples/Tronxy/X1/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2031,5 +2030,3 @@
2031 2030
 
2032 2031
 // Allow servo angle to be edited and saved to EEPROM
2033 2032
 //#define EDITABLE_SERVO_ANGLES
2034
-
2035
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Tronxy/X3A/Configuration.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration.h
@@ -35,8 +36,6 @@
35 36
  * Advanced settings can be found in Configuration_adv.h
36 37
  *
37 38
  */
38
-#ifndef CONFIGURATION_H
39
-#define CONFIGURATION_H
40 39
 #define CONFIGURATION_H_VERSION 020000
41 40
 
42 41
 //===========================================================================
@@ -2035,5 +2034,3 @@
2035 2034
 
2036 2035
 // Allow servo angle to be edited and saved to EEPROM
2037 2036
 //#define EDITABLE_SERVO_ANGLES
2038
-
2039
-#endif // CONFIGURATION_H

+ 1
- 4
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h View File

@@ -19,6 +19,7 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
+#pragma once
22 23
 
23 24
 /**
24 25
  * Configuration_adv.h
@@ -30,8 +31,6 @@
30 31
  * Basic settings can be found in Configuration.h
31 32
  *
32 33
  */
33
-#ifndef CONFIGURATION_ADV_H
34
-#define CONFIGURATION_ADV_H
35 34
 #define CONFIGURATION_ADV_H_VERSION 020000
36 35
 
37 36
 // @section temperature
@@ -1830,5 +1829,3 @@
1830 1829
 
1831 1830
 // Enable Marlin dev mode which adds some special commands
1832 1831
 //#define MARLIN_DEV_MODE
1833
-
1834
-#endif // CONFIGURATION_ADV_H

+ 0
- 0
Marlin/src/config/examples/Tronxy/X5S/Configuration.h View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save