diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h
index c241b3f7c..08bb9d066 100644
--- a/Marlin/Configuration.h
+++ b/Marlin/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h
index 67be0a9a3..a573b749a 100644
--- a/Marlin/Configuration_adv.h
+++ b/Marlin/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1831,5 +1830,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/default/Configuration.h b/Marlin/src/config/default/Configuration.h
index c241b3f7c..08bb9d066 100644
--- a/Marlin/src/config/default/Configuration.h
+++ b/Marlin/src/config/default/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/default/Configuration_adv.h b/Marlin/src/config/default/Configuration_adv.h
index 67be0a9a3..a573b749a 100755
--- a/Marlin/src/config/default/Configuration_adv.h
+++ b/Marlin/src/config/default/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1831,5 +1830,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
index 3c3ff26b7..5021233b7 100644
--- a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
+++ b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2051,5 +2050,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
index aa06f646a..e61f6dd58 100644
--- a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
+++ b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/AliExpress/CL-260/Configuration.h b/Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
index 50aac9b27..3a5449085 100644
--- a/Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
+++ b/Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Anet/A2/Configuration.h b/Marlin/src/config/examples/Anet/A2/Configuration.h
index 938b56b83..0ce48db5d 100644
--- a/Marlin/src/config/examples/Anet/A2/Configuration.h
+++ b/Marlin/src/config/examples/Anet/A2/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2033,5 +2032,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Anet/A2/Configuration_adv.h b/Marlin/src/config/examples/Anet/A2/Configuration_adv.h
index 66639e943..d1bd3f2c8 100644
--- a/Marlin/src/config/examples/Anet/A2/Configuration_adv.h
+++ b/Marlin/src/config/examples/Anet/A2/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Anet/A2plus/Configuration.h b/Marlin/src/config/examples/Anet/A2plus/Configuration.h
index 821377024..9e726573e 100644
--- a/Marlin/src/config/examples/Anet/A2plus/Configuration.h
+++ b/Marlin/src/config/examples/Anet/A2plus/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2033,5 +2032,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h b/Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
index 66639e943..d1bd3f2c8 100644
--- a/Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
+++ b/Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Anet/A6/Configuration.h b/Marlin/src/config/examples/Anet/A6/Configuration.h
index 3e26b0462..513309b97 100644
--- a/Marlin/src/config/examples/Anet/A6/Configuration.h
+++ b/Marlin/src/config/examples/Anet/A6/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2186,5 +2185,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Anet/A6/Configuration_adv.h b/Marlin/src/config/examples/Anet/A6/Configuration_adv.h
index 0c8f0276b..ee35ef4a0 100644
--- a/Marlin/src/config/examples/Anet/A6/Configuration_adv.h
+++ b/Marlin/src/config/examples/Anet/A6/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1829,5 +1828,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Anet/A8/Configuration.h b/Marlin/src/config/examples/Anet/A8/Configuration.h
index 2743944c0..3730a35e2 100644
--- a/Marlin/src/config/examples/Anet/A8/Configuration.h
+++ b/Marlin/src/config/examples/Anet/A8/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2040,5 +2039,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Anet/A8/Configuration_adv.h b/Marlin/src/config/examples/Anet/A8/Configuration_adv.h
index abee2b5e7..b1cccb210 100644
--- a/Marlin/src/config/examples/Anet/A8/Configuration_adv.h
+++ b/Marlin/src/config/examples/Anet/A8/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/ArmEd/Configuration.h b/Marlin/src/config/examples/ArmEd/Configuration.h
index 79353cc2f..f063ab9a4 100644
--- a/Marlin/src/config/examples/ArmEd/Configuration.h
+++ b/Marlin/src/config/examples/ArmEd/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2032,5 +2031,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/ArmEd/Configuration_adv.h b/Marlin/src/config/examples/ArmEd/Configuration_adv.h
index 032c041fe..421fa6f58 100644
--- a/Marlin/src/config/examples/ArmEd/Configuration_adv.h
+++ b/Marlin/src/config/examples/ArmEd/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1807,5 +1806,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Azteeg/X5GT/Configuration.h b/Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
index eb4a626c8..2bdf14dfb 100644
--- a/Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
+++ b/Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h b/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
index e889bedda..5f465a596 100644
--- a/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
+++ b/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h b/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
index 605c9edb2..ee91cbf0e 100644
--- a/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
+++ b/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1829,5 +1828,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h b/Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
index fe867929d..5a9ecac39 100644
--- a/Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
+++ b/Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h b/Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
index f3f5a4de1..2dc7d6ec2 100644
--- a/Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
+++ b/Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/BQ/Hephestos/Configuration.h b/Marlin/src/config/examples/BQ/Hephestos/Configuration.h
index 73bd80664..489adf2f4 100644
--- a/Marlin/src/config/examples/BQ/Hephestos/Configuration.h
+++ b/Marlin/src/config/examples/BQ/Hephestos/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2019,5 +2018,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h b/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
index 152602f12..79903fde5 100644
--- a/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
+++ b/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
index d0402bc83..a239a7ba6 100644
--- a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
+++ b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
index cb5c5af86..5e41063d1 100644
--- a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
+++ b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1837,5 +1836,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/BQ/WITBOX/Configuration.h b/Marlin/src/config/examples/BQ/WITBOX/Configuration.h
index e3c8c3035..f8c6c0be2 100644
--- a/Marlin/src/config/examples/BQ/WITBOX/Configuration.h
+++ b/Marlin/src/config/examples/BQ/WITBOX/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2019,5 +2018,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h b/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
index 152602f12..79903fde5 100644
--- a/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
+++ b/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Cartesio/Configuration.h b/Marlin/src/config/examples/Cartesio/Configuration.h
index 4b24ca6c3..3e95e8609 100644
--- a/Marlin/src/config/examples/Cartesio/Configuration.h
+++ b/Marlin/src/config/examples/Cartesio/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2030,5 +2029,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Cartesio/Configuration_adv.h b/Marlin/src/config/examples/Cartesio/Configuration_adv.h
index 0da554bda..fdf55dd51 100644
--- a/Marlin/src/config/examples/Cartesio/Configuration_adv.h
+++ b/Marlin/src/config/examples/Cartesio/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Creality/CR-10/Configuration.h b/Marlin/src/config/examples/Creality/CR-10/Configuration.h
index bb8d38693..fd0d76ec5 100755
--- a/Marlin/src/config/examples/Creality/CR-10/Configuration.h
+++ b/Marlin/src/config/examples/Creality/CR-10/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2041,5 +2040,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
index 2650a6dd3..c0927a949 100755
--- a/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
+++ b/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1833,5 +1832,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Creality/CR-10S/Configuration.h b/Marlin/src/config/examples/Creality/CR-10S/Configuration.h
index 27fa4105d..36c8fff94 100644
--- a/Marlin/src/config/examples/Creality/CR-10S/Configuration.h
+++ b/Marlin/src/config/examples/Creality/CR-10S/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2032,5 +2031,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
index b572548c4..571f4fd3b 100644
--- a/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
+++ b/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Creality/CR-10mini/Configuration.h b/Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
index 9ecfac26a..3ebf2a89b 100644
--- a/Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
+++ b/Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -44,8 +45,6 @@
* CR10_STOCKDISPLAY (RAMPS-compatible with single 10-pin plug)
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2050,5 +2049,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
index 563c07ef7..b8756fc0a 100644
--- a/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
+++ b/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Creality/CR-8/Configuration.h b/Marlin/src/config/examples/Creality/CR-8/Configuration.h
index 0a4a6af0d..dfc3c97b1 100644
--- a/Marlin/src/config/examples/Creality/CR-8/Configuration.h
+++ b/Marlin/src/config/examples/Creality/CR-8/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2041,5 +2040,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
index 6bb6d7577..1ce26f98b 100644
--- a/Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
+++ b/Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Creality/Ender-2/Configuration.h b/Marlin/src/config/examples/Creality/Ender-2/Configuration.h
index ced14703a..1359b2848 100644
--- a/Marlin/src/config/examples/Creality/Ender-2/Configuration.h
+++ b/Marlin/src/config/examples/Creality/Ender-2/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2035,5 +2034,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h b/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
index d65e7193c..cab4f7998 100644
--- a/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
+++ b/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Creality/Ender-3/Configuration.h b/Marlin/src/config/examples/Creality/Ender-3/Configuration.h
index bef05d1d7..51c3acd4c 100644
--- a/Marlin/src/config/examples/Creality/Ender-3/Configuration.h
+++ b/Marlin/src/config/examples/Creality/Ender-3/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2035,5 +2034,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h b/Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
index 7ecead90d..0f596ba70 100644
--- a/Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
+++ b/Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Creality/Ender-4/Configuration.h b/Marlin/src/config/examples/Creality/Ender-4/Configuration.h
index 62a8b52bb..5988c3fce 100644
--- a/Marlin/src/config/examples/Creality/Ender-4/Configuration.h
+++ b/Marlin/src/config/examples/Creality/Ender-4/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2041,5 +2040,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h b/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
index 43d709922..c78fe2090 100644
--- a/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
+++ b/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Einstart-S/Configuration.h b/Marlin/src/config/examples/Einstart-S/Configuration.h
index 2ef239540..d235d4eda 100644
--- a/Marlin/src/config/examples/Einstart-S/Configuration.h
+++ b/Marlin/src/config/examples/Einstart-S/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2037,5 +2036,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Einstart-S/Configuration_adv.h b/Marlin/src/config/examples/Einstart-S/Configuration_adv.h
index 07b1b2855..ad68331be 100644
--- a/Marlin/src/config/examples/Einstart-S/Configuration_adv.h
+++ b/Marlin/src/config/examples/Einstart-S/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Felix/Configuration.h b/Marlin/src/config/examples/Felix/Configuration.h
index 7b8c25364..0427da24b 100644
--- a/Marlin/src/config/examples/Felix/Configuration.h
+++ b/Marlin/src/config/examples/Felix/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2013,5 +2012,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Felix/Configuration_adv.h b/Marlin/src/config/examples/Felix/Configuration_adv.h
index 85670133b..30a223b07 100644
--- a/Marlin/src/config/examples/Felix/Configuration_adv.h
+++ b/Marlin/src/config/examples/Felix/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Felix/DUAL/Configuration.h b/Marlin/src/config/examples/Felix/DUAL/Configuration.h
index 7e117341c..b203a8d68 100644
--- a/Marlin/src/config/examples/Felix/DUAL/Configuration.h
+++ b/Marlin/src/config/examples/Felix/DUAL/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2013,5 +2012,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
index 2bd893b99..9c93b27c1 100644
--- a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
+++ b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2037,5 +2036,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
index 4d7c4db66..2e860a74f 100644
--- a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
+++ b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1838,5 +1837,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Formbot/Raptor/Configuration.h b/Marlin/src/config/examples/Formbot/Raptor/Configuration.h
index a6fe6e6e4..cfb1cad38 100644
--- a/Marlin/src/config/examples/Formbot/Raptor/Configuration.h
+++ b/Marlin/src/config/examples/Formbot/Raptor/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2137,5 +2136,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h b/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
index 243c18650..eb6a44a4c 100644
--- a/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
+++ b/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1834,5 +1833,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h b/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h
index 236c28303..6ecdc9b42 100644
--- a/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h
+++ b/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
//#define ROXYs_TRex // Turn this on to get customizations only available on Roxy's T-Rex 2+
// Marlin controlled heat bed, Max7219 debug LED's, less bright LED light level
@@ -38,8 +39,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2078,5 +2077,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h b/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
index 5a7a7b627..a01289a7d 100644
--- a/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
+++ b/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1840,5 +1839,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h b/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
index eb510ed5e..f9a7b8314 100644
--- a/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
+++ b/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2064,5 +2063,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h b/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
index d930e803b..2bea700c9 100644
--- a/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
+++ b/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1840,5 +1839,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Geeetech/GT2560/Configuration.h b/Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
index 92aabe970..af541643d 100644
--- a/Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
+++ b/Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2055,5 +2054,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h b/Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
index bbda67400..f99aaca26 100644
--- a/Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
+++ b/Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h b/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h
index 36d8f2ea1..41184aa28 100644
--- a/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h
+++ b/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2038,5 +2037,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h b/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
index bea96036b..785228a81 100644
--- a/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
+++ b/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1816,5 +1815,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
index 4a286650d..fec05ea55 100644
--- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
+++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2047,5 +2046,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
index 0380868f1..7e9fef211 100644
--- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
+++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2046,5 +2045,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
index 9841568ee..c4efc25c7 100644
--- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
+++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
index 048587898..22412c132 100644
--- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
+++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
index 4bc3f80f5..35171e7b2 100644
--- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
+++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
index 048587898..22412c132 100644
--- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
+++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Infitary/i3-M508/Configuration.h b/Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
index 48218e701..0d9954015 100644
--- a/Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
+++ b/Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2035,5 +2034,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h b/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
index b6666547a..604557261 100644
--- a/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
+++ b/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/JGAurora/A5/Configuration.h b/Marlin/src/config/examples/JGAurora/A5/Configuration.h
index f303f6d0d..b79e1b196 100644
--- a/Marlin/src/config/examples/JGAurora/A5/Configuration.h
+++ b/Marlin/src/config/examples/JGAurora/A5/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* JGAurora A5 configuration
@@ -40,8 +41,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2042,5 +2041,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h b/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
index c36bafc5e..ed422df17 100644
--- a/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
+++ b/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/MakerParts/Configuration.h b/Marlin/src/config/examples/MakerParts/Configuration.h
index a84996c3c..ba05571fd 100644
--- a/Marlin/src/config/examples/MakerParts/Configuration.h
+++ b/Marlin/src/config/examples/MakerParts/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2051,5 +2050,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/MakerParts/Configuration_adv.h b/Marlin/src/config/examples/MakerParts/Configuration_adv.h
index 5ad8449c7..254126cf3 100644
--- a/Marlin/src/config/examples/MakerParts/Configuration_adv.h
+++ b/Marlin/src/config/examples/MakerParts/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Malyan/M150/Configuration.h b/Marlin/src/config/examples/Malyan/M150/Configuration.h
index 93a4571cd..6ad438a0e 100644
--- a/Marlin/src/config/examples/Malyan/M150/Configuration.h
+++ b/Marlin/src/config/examples/Malyan/M150/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Maylan M150 Configuration
@@ -40,8 +41,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2059,5 +2058,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h b/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
index 781e262a2..1804fd782 100644
--- a/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
+++ b/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Malyan/M200/Configuration.h b/Marlin/src/config/examples/Malyan/M200/Configuration.h
index edaa8cb9a..baa70a51a 100644
--- a/Marlin/src/config/examples/Malyan/M200/Configuration.h
+++ b/Marlin/src/config/examples/Malyan/M200/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2030,5 +2029,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h b/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
index e26019cf7..d9ce67232 100644
--- a/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
+++ b/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Micromake/C1/basic/Configuration.h b/Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
index 53bfad521..21c5294db 100644
--- a/Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
+++ b/Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2035,5 +2034,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
index b58557792..6e6381a3e 100644
--- a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
+++ b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2035,5 +2034,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
index 86b7c7f9f..d4288d6d9 100644
--- a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
+++ b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Mks/Sbase/Configuration.h b/Marlin/src/config/examples/Mks/Sbase/Configuration.h
index 2f54478c4..13ad17a4f 100644
--- a/Marlin/src/config/examples/Mks/Sbase/Configuration.h
+++ b/Marlin/src/config/examples/Mks/Sbase/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h b/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
index d8eb4d7ea..af8d3bb94 100644
--- a/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
+++ b/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1838,5 +1837,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h b/Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
index cda7035f0..b8ba3cfee 100644
--- a/Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
+++ b/Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2080,5 +2079,3 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h b/Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
index 9c088b348..eda30b90e 100644
--- a/Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
+++ b/Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/RigidBot/Configuration.h b/Marlin/src/config/examples/RigidBot/Configuration.h
index 7f398a1b4..c6128b96f 100644
--- a/Marlin/src/config/examples/RigidBot/Configuration.h
+++ b/Marlin/src/config/examples/RigidBot/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/RigidBot/Configuration_adv.h b/Marlin/src/config/examples/RigidBot/Configuration_adv.h
index 8846b33aa..b8d521d1e 100644
--- a/Marlin/src/config/examples/RigidBot/Configuration_adv.h
+++ b/Marlin/src/config/examples/RigidBot/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/SCARA/Configuration.h b/Marlin/src/config/examples/SCARA/Configuration.h
index 048036861..5e2fb2ce7 100644
--- a/Marlin/src/config/examples/SCARA/Configuration.h
+++ b/Marlin/src/config/examples/SCARA/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2044,5 +2043,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/SCARA/Configuration_adv.h b/Marlin/src/config/examples/SCARA/Configuration_adv.h
index 00b11e93a..64bca1220 100644
--- a/Marlin/src/config/examples/SCARA/Configuration_adv.h
+++ b/Marlin/src/config/examples/SCARA/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/STM32F10/Configuration.h b/Marlin/src/config/examples/STM32F10/Configuration.h
index c8a7b4423..7a1045d7f 100644
--- a/Marlin/src/config/examples/STM32F10/Configuration.h
+++ b/Marlin/src/config/examples/STM32F10/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2033,5 +2032,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/STM32F4/Configuration.h b/Marlin/src/config/examples/STM32F4/Configuration.h
index 87c56d5b6..b5163c251 100644
--- a/Marlin/src/config/examples/STM32F4/Configuration.h
+++ b/Marlin/src/config/examples/STM32F4/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Sanguinololu/Configuration.h b/Marlin/src/config/examples/Sanguinololu/Configuration.h
index 9ea18b9f1..e1cde8b6b 100644
--- a/Marlin/src/config/examples/Sanguinololu/Configuration.h
+++ b/Marlin/src/config/examples/Sanguinololu/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2062,5 +2061,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h b/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
index 902e21170..c38b07df5 100644
--- a/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
+++ b/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/TheBorg/Configuration.h b/Marlin/src/config/examples/TheBorg/Configuration.h
index d1994ef82..4d627ac65 100644
--- a/Marlin/src/config/examples/TheBorg/Configuration.h
+++ b/Marlin/src/config/examples/TheBorg/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/TheBorg/Configuration_adv.h b/Marlin/src/config/examples/TheBorg/Configuration_adv.h
index 0533fee18..ec8420db8 100644
--- a/Marlin/src/config/examples/TheBorg/Configuration_adv.h
+++ b/Marlin/src/config/examples/TheBorg/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/TinyBoy2/Configuration.h b/Marlin/src/config/examples/TinyBoy2/Configuration.h
index bbce97460..04b46a329 100644
--- a/Marlin/src/config/examples/TinyBoy2/Configuration.h
+++ b/Marlin/src/config/examples/TinyBoy2/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
/**
@@ -2087,5 +2086,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h b/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
index 763ce0b5f..f34ba365e 100644
--- a/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
+++ b/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Tronxy/X1/Configuration.h b/Marlin/src/config/examples/Tronxy/X1/Configuration.h
index 1565768a9..159a8d9cf 100644
--- a/Marlin/src/config/examples/Tronxy/X1/Configuration.h
+++ b/Marlin/src/config/examples/Tronxy/X1/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Tronxy/X3A/Configuration.h b/Marlin/src/config/examples/Tronxy/X3A/Configuration.h
index 533671e26..ab713214f 100644
--- a/Marlin/src/config/examples/Tronxy/X3A/Configuration.h
+++ b/Marlin/src/config/examples/Tronxy/X3A/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2035,5 +2034,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h b/Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
index 24a24d58b..c7fadebc5 100644
--- a/Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
+++ b/Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Tronxy/X5S/Configuration.h b/Marlin/src/config/examples/Tronxy/X5S/Configuration.h
index e60d79bc5..a0b425919 100644
--- a/Marlin/src/config/examples/Tronxy/X5S/Configuration.h
+++ b/Marlin/src/config/examples/Tronxy/X5S/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Tronxy/XY100/Configuration.h b/Marlin/src/config/examples/Tronxy/XY100/Configuration.h
index bc6aa0fee..96cb68a5a 100644
--- a/Marlin/src/config/examples/Tronxy/XY100/Configuration.h
+++ b/Marlin/src/config/examples/Tronxy/XY100/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2042,5 +2041,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
index 0d8c5607a..090f83a1d 100644
--- a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
+++ b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
index dd1bb7580..1f8a03ed2 100644
--- a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
+++ b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Velleman/K8200/Configuration.h b/Marlin/src/config/examples/Velleman/K8200/Configuration.h
index 77d6be453..8e4613c97 100644
--- a/Marlin/src/config/examples/Velleman/K8200/Configuration.h
+++ b/Marlin/src/config/examples/Velleman/K8200/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
/**
@@ -2066,5 +2065,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h b/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
index e3ec5ebe5..93ffcc8c4 100644
--- a/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
+++ b/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -39,8 +40,6 @@
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1843,5 +1842,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Velleman/K8400/Configuration.h b/Marlin/src/config/examples/Velleman/K8400/Configuration.h
index 6f07b2da1..5d4dc7b6c 100644
--- a/Marlin/src/config/examples/Velleman/K8400/Configuration.h
+++ b/Marlin/src/config/examples/Velleman/K8400/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2032,5 +2031,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h b/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
index 665ee7509..c2b7ce6b9 100644
--- a/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
+++ b/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h b/Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
index cd0aac771..8e41dcb99 100644
--- a/Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
+++ b/Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2032,5 +2031,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
index 937476ada..bdd0f905b 100644
--- a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
+++ b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2044,5 +2043,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
index cc2a191a3..8700573f0 100644
--- a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
+++ b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1832,5 +1831,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/adafruit/ST7565/Configuration.h b/Marlin/src/config/examples/adafruit/ST7565/Configuration.h
index efd2bc234..c133d41e7 100644
--- a/Marlin/src/config/examples/adafruit/ST7565/Configuration.h
+++ b/Marlin/src/config/examples/adafruit/ST7565/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2031,5 +2030,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h b/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h
index 5a9b71167..ae7ce5e3e 100644
--- a/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h
+++ b/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Choose your version:
@@ -50,8 +51,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2221,5 +2220,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h b/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
index f26108358..80a13463b 100644
--- a/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
+++ b/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1832,5 +1831,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
index 22d04ea5e..ca28d03c4 100644
--- a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
+++ b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2159,5 +2158,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
index 8613cbc22..3f9820bc3 100644
--- a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
+++ b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1832,5 +1831,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
index b8f645c35..416d4d3e3 100644
--- a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
+++ b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2158,5 +2157,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
index 8613cbc22..3f9820bc3 100644
--- a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
+++ b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1832,5 +1831,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
index b0aef7d82..18b2b3eaa 100644
--- a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
+++ b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2158,5 +2157,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
index 8046f4c14..2e194fb3b 100644
--- a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
+++ b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1832,5 +1831,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h b/Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h
index 0b98a579b..bacf50afd 100644
--- a/Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h
+++ b/Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration for Hatchbox Alpha with E3D v6 extruder
@@ -40,8 +41,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2161,5 +2160,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/delta/generic/Configuration.h b/Marlin/src/config/examples/delta/generic/Configuration.h
index 38e999784..1c9e4dbb7 100644
--- a/Marlin/src/config/examples/delta/generic/Configuration.h
+++ b/Marlin/src/config/examples/delta/generic/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2146,5 +2145,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/delta/generic/Configuration_adv.h b/Marlin/src/config/examples/delta/generic/Configuration_adv.h
index 8046f4c14..2e194fb3b 100644
--- a/Marlin/src/config/examples/delta/generic/Configuration_adv.h
+++ b/Marlin/src/config/examples/delta/generic/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1832,5 +1831,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/delta/kossel_mini/Configuration.h b/Marlin/src/config/examples/delta/kossel_mini/Configuration.h
index ff219222e..1c875e05a 100644
--- a/Marlin/src/config/examples/delta/kossel_mini/Configuration.h
+++ b/Marlin/src/config/examples/delta/kossel_mini/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2148,5 +2147,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h b/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
index 8046f4c14..2e194fb3b 100644
--- a/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
+++ b/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1832,5 +1831,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/delta/kossel_pro/Configuration.h b/Marlin/src/config/examples/delta/kossel_pro/Configuration.h
index cda63c102..2661fdcb5 100644
--- a/Marlin/src/config/examples/delta/kossel_pro/Configuration.h
+++ b/Marlin/src/config/examples/delta/kossel_pro/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Example configuration file for OpenBeam Kossel Pro
@@ -39,8 +40,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2149,5 +2148,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/delta/kossel_xl/Configuration.h b/Marlin/src/config/examples/delta/kossel_xl/Configuration.h
index e53e54353..428042130 100644
--- a/Marlin/src/config/examples/delta/kossel_xl/Configuration.h
+++ b/Marlin/src/config/examples/delta/kossel_xl/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2149,5 +2148,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h b/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
index 042940ef1..2abf93992 100644
--- a/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
+++ b/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1832,5 +1831,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
index 8abd767c9..e720dfe01 100644
--- a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
+++ b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2045,5 +2044,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
index e8acbf267..f98d7a625 100644
--- a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
+++ b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/makibox/Configuration.h b/Marlin/src/config/examples/makibox/Configuration.h
index 6a77c44de..348979aa2 100644
--- a/Marlin/src/config/examples/makibox/Configuration.h
+++ b/Marlin/src/config/examples/makibox/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2034,5 +2033,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/makibox/Configuration_adv.h b/Marlin/src/config/examples/makibox/Configuration_adv.h
index 2a8038bb0..90841f237 100644
--- a/Marlin/src/config/examples/makibox/Configuration_adv.h
+++ b/Marlin/src/config/examples/makibox/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/stm32f103ret6/Configuration.h b/Marlin/src/config/examples/stm32f103ret6/Configuration.h
index 60d4a6d16..4ab70b135 100644
--- a/Marlin/src/config/examples/stm32f103ret6/Configuration.h
+++ b/Marlin/src/config/examples/stm32f103ret6/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2033,5 +2032,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/tvrrug/Round2/Configuration.h b/Marlin/src/config/examples/tvrrug/Round2/Configuration.h
index 3b59bcc97..649e0badb 100644
--- a/Marlin/src/config/examples/tvrrug/Round2/Configuration.h
+++ b/Marlin/src/config/examples/tvrrug/Round2/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2026,5 +2025,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h b/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
index b28eed320..a18f8dda3 100644
--- a/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
+++ b/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1830,5 +1829,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H
diff --git a/Marlin/src/config/examples/wt150/Configuration.h b/Marlin/src/config/examples/wt150/Configuration.h
index eb35eef39..3ff4da349 100644
--- a/Marlin/src/config/examples/wt150/Configuration.h
+++ b/Marlin/src/config/examples/wt150/Configuration.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration.h
@@ -35,8 +36,6 @@
* Advanced settings can be found in Configuration_adv.h
*
*/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
//===========================================================================
@@ -2036,5 +2035,3 @@
// Allow servo angle to be edited and saved to EEPROM
//#define EDITABLE_SERVO_ANGLES
-
-#endif // CONFIGURATION_H
diff --git a/Marlin/src/config/examples/wt150/Configuration_adv.h b/Marlin/src/config/examples/wt150/Configuration_adv.h
index e1ffd8ab4..5d0e51e68 100644
--- a/Marlin/src/config/examples/wt150/Configuration_adv.h
+++ b/Marlin/src/config/examples/wt150/Configuration_adv.h
@@ -19,6 +19,7 @@
* along with this program. If not, see .
*
*/
+#pragma once
/**
* Configuration_adv.h
@@ -30,8 +31,6 @@
* Basic settings can be found in Configuration.h
*
*/
-#ifndef CONFIGURATION_ADV_H
-#define CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H_VERSION 020000
// @section temperature
@@ -1831,5 +1830,3 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
-
-#endif // CONFIGURATION_ADV_H