diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index c241b3f7ce..08bb9d066d 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 67be0a9a3e..a573b749a9 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 c241b3f7ce..08bb9d066d 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 67be0a9a3e..a573b749a9 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 3c3ff26b7a..5021233b76 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 aa06f646a5..e61f6dd58a 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 50aac9b275..3a5449085f 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 938b56b83d..0ce48db5d6 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 66639e943e..d1bd3f2c88 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 8213770241..9e726573ed 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 66639e943e..d1bd3f2c88 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 3e26b04622..513309b97c 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 0c8f0276b4..ee35ef4a06 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 2743944c0e..3730a35e2f 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 abee2b5e74..b1cccb2101 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 79353cc2f1..f063ab9a4d 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 032c041fe9..421fa6f581 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 eb4a626c8b..2bdf14dfbd 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 e889bedda0..5f465a5963 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 605c9edb26..ee91cbf0e1 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 fe867929da..5a9ecac39a 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 f3f5a4de1e..2dc7d6ec25 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 73bd806644..489adf2f49 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 152602f127..79903fde5f 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 d0402bc83a..a239a7ba67 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 cb5c5af869..5e41063d11 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 e3c8c3035e..f8c6c0be28 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 152602f127..79903fde5f 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 4b24ca6c34..3e95e86092 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 0da554bda3..fdf55dd516 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 bb8d386934..fd0d76ec5d 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 2650a6dd34..c0927a9493 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 27fa4105dc..36c8fff94e 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 b572548c4e..571f4fd3b7 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 9ecfac26af..3ebf2a89b1 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 563c07ef7b..b8756fc0a1 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 0a4a6af0df..dfc3c97b19 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 6bb6d75772..1ce26f98b7 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 ced14703a4..1359b28480 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 d65e7193c9..cab4f79982 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 bef05d1d79..51c3acd4c2 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 7ecead90d3..0f596ba709 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 62a8b52bba..5988c3fcee 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 43d7099222..c78fe2090c 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 2ef239540e..d235d4eda0 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 07b1b28551..ad68331be8 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 7b8c25364b..0427da24ba 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 85670133ba..30a223b07c 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 7e117341c9..b203a8d680 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 2bd893b991..9c93b27c16 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 4d7c4db669..2e860a74f0 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 a6fe6e6e4b..cfb1cad38d 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 243c186506..eb6a44a4c4 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 236c283030..6ecdc9b424 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 5a7a7b6277..a01289a7df 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 eb510ed5ef..f9a7b83143 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 d930e803b0..2bea700c9e 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 92aabe9700..af541643d4 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 bbda67400a..f99aaca26a 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 36d8f2ea1f..41184aa287 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 bea96036bd..785228a812 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 4a286650d3..fec05ea554 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 0380868f19..7e9fef211d 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 9841568eeb..c4efc25c79 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 048587898a..22412c132a 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 4bc3f80f56..35171e7b28 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 048587898a..22412c132a 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 48218e701d..0d9954015e 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 b6666547ac..6045572617 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 f303f6d0d4..b79e1b1964 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 c36bafc5ec..ed422df176 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 a84996c3c5..ba05571fd6 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 5ad8449c76..254126cf3b 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 93a4571cd0..6ad438a0e4 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 781e262a2d..1804fd7829 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 edaa8cb9a2..baa70a51ab 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 e26019cf7b..d9ce672327 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 53bfad521c..21c5294db9 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 b585577925..6e6381a3ed 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 86b7c7f9fa..d4288d6d99 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 2f54478c42..13ad17a4f4 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 d8eb4d7ead..af8d3bb94d 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 cda7035f0d..b8ba3cfee2 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 9c088b3486..eda30b90e0 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 7f398a1b4a..c6128b96fd 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 8846b33aac..b8d521d1e8 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 0480368611..5e2fb2ce7b 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 00b11e93a0..64bca1220b 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 c8a7b44230..7a1045d7f3 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 87c56d5b61..b5163c2519 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 9ea18b9f10..e1cde8b6b2 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 902e211700..c38b07df56 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 d1994ef824..4d627ac655 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 0533fee187..ec8420db84 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 bbce97460b..04b46a3292 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 763ce0b5f7..f34ba365e4 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 1565768a9b..159a8d9cf4 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 533671e26f..ab713214fe 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 24a24d58ba..c7fadebc57 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 e60d79bc56..a0b4259199 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 bc6aa0fee2..96cb68a5a4 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 0d8c5607aa..090f83a1d7 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 dd1bb75806..1f8a03ed2c 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 77d6be4538..8e4613c97b 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 e3ec5ebe5c..93ffcc8c4c 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 6f07b2da11..5d4dc7b6ca 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 665ee75098..c2b7ce6b90 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 cd0aac771c..8e41dcb99e 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 937476adad..bdd0f905b5 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 cc2a191a3b..8700573f09 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 efd2bc2349..c133d41e78 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 5a9b711674..ae7ce5e3e6 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 f261083582..80a13463b6 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 22d04ea5e5..ca28d03c41 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 8613cbc22e..3f9820bc30 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 b8f645c35b..416d4d3e3a 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 8613cbc22e..3f9820bc30 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 b0aef7d826..18b2b3eaae 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 8046f4c143..2e194fb3b4 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 0b98a579b2..bacf50afd3 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 38e9997844..1c9e4dbb7a 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 8046f4c143..2e194fb3b4 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 ff219222ee..1c875e05ae 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 8046f4c143..2e194fb3b4 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 cda63c102f..2661fdcb51 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 e53e543534..4280421307 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 042940ef11..2abf93992b 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 8abd767c9f..e720dfe01f 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 e8acbf2677..f98d7a6253 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 6a77c44de1..348979aa2a 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 2a8038bb02..90841f237f 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 60d4a6d166..4ab70b135c 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 3b59bcc974..649e0badb5 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 b28eed3205..a18f8dda34 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 eb35eef390..3ff4da3490 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 e1ffd8ab48..5d0e51e687 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