From b6546ea33a0f6eebee520dda516e04d3b68ded55 Mon Sep 17 00:00:00 2001 From: Scott Lahteine <github@thinkyhead.com> Date: Thu, 4 Jul 2019 22:44:12 -0500 Subject: [PATCH] Add include guards to some headers --- Marlin/src/HAL/HAL_DUE/G2_PWM.h | 1 + Marlin/src/HAL/HAL_DUE/SanityCheck.h | 1 + Marlin/src/HAL/HAL_ESP32/FlushableHardwareSerial.h | 1 + Marlin/src/HAL/HAL_ESP32/SanityCheck.h | 1 + Marlin/src/HAL/HAL_ESP32/servotimers.h | 1 + Marlin/src/HAL/HAL_LINUX/SanityCheck.h | 1 + Marlin/src/HAL/HAL_LPC1768/HAL_Servo_LPC1768.h | 1 + Marlin/src/HAL/HAL_LPC1768/SanityCheck.h | 1 + Marlin/src/HAL/HAL_LPC1768/include/SPI.h | 1 - Marlin/src/HAL/HAL_LPC1768/persistent_store_api.h | 2 ++ Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_I2C_routines.h | 1 + Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_defines.h | 1 + Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_delay.h | 1 + Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_pin_routines.h | 1 + Marlin/src/HAL/HAL_STM32F1/SanityCheck.h | 1 + Marlin/src/HAL/HAL_STM32F4/SanityCheck.h | 1 + Marlin/src/HAL/HAL_STM32F7/SanityCheck.h | 1 + Marlin/src/HAL/HAL_TEENSY31_32/HAL_Servo_Teensy.h | 1 - Marlin/src/HAL/HAL_TEENSY31_32/HAL_timers_Teensy.h | 1 + Marlin/src/HAL/HAL_TEENSY31_32/SanityCheck.h | 1 + Marlin/src/HAL/HAL_TEENSY31_32/endstop_interrupts.h | 1 + Marlin/src/HAL/HAL_TEENSY31_32/fastio_Teensy.h | 1 + Marlin/src/HAL/HAL_TEENSY31_32/spi_pins.h | 1 - Marlin/src/HAL/HAL_TEENSY31_32/watchdog_Teensy.h | 1 - Marlin/src/HAL/HAL_TEENSY35_36/SanityCheck.h | 1 + Marlin/src/HAL/shared/servo.h | 1 + Marlin/src/core/debug_out.h | 1 + Marlin/src/core/minmax.h | 1 + Marlin/src/feature/Max7219_Debug_LEDs.h | 1 + Marlin/src/feature/prusa_MMU2/mmu2.h | 1 - Marlin/src/gcode/gcode.h | 1 + Marlin/src/lcd/dogm/HAL_LCD_com_defines.h | 1 + Marlin/src/lcd/dogm/dogm_Bootscreen.h | 1 + Marlin/src/lcd/dogm/dogm_Statusscreen.h | 1 + Marlin/src/lcd/dogm/fontdata/fontdata_6x9_marlin.h | 1 + Marlin/src/lcd/dogm/ultralcd_DOGM.h | 1 + Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.h | 1 + Marlin/src/lcd/extensible_ui/ui_api.h | 1 + Marlin/src/lcd/thermistornames.h | 1 + Marlin/src/libs/vector_3.h | 1 + Marlin/src/module/delta.h | 1 + Marlin/src/module/motion.h | 1 + Marlin/src/module/scara.h | 1 + Marlin/src/module/thermistor/thermistor_1.h | 1 + Marlin/src/module/thermistor/thermistor_10.h | 1 + Marlin/src/module/thermistor/thermistor_1010.h | 1 + Marlin/src/module/thermistor/thermistor_1047.h | 1 + Marlin/src/module/thermistor/thermistor_11.h | 1 + Marlin/src/module/thermistor/thermistor_110.h | 1 + Marlin/src/module/thermistor/thermistor_12.h | 1 + Marlin/src/module/thermistor/thermistor_13.h | 1 + Marlin/src/module/thermistor/thermistor_147.h | 1 + Marlin/src/module/thermistor/thermistor_15.h | 1 + Marlin/src/module/thermistor/thermistor_18.h | 1 + Marlin/src/module/thermistor/thermistor_2.h | 1 + Marlin/src/module/thermistor/thermistor_20.h | 1 + Marlin/src/module/thermistor/thermistor_3.h | 1 + Marlin/src/module/thermistor/thermistor_4.h | 1 + Marlin/src/module/thermistor/thermistor_5.h | 1 + Marlin/src/module/thermistor/thermistor_501.h | 1 + Marlin/src/module/thermistor/thermistor_51.h | 1 + Marlin/src/module/thermistor/thermistor_52.h | 1 + Marlin/src/module/thermistor/thermistor_55.h | 1 + Marlin/src/module/thermistor/thermistor_6.h | 1 + Marlin/src/module/thermistor/thermistor_60.h | 1 + Marlin/src/module/thermistor/thermistor_61.h | 1 + Marlin/src/module/thermistor/thermistor_66.h | 1 + Marlin/src/module/thermistor/thermistor_666.h | 1 + Marlin/src/module/thermistor/thermistor_67.h | 1 + Marlin/src/module/thermistor/thermistor_7.h | 1 + Marlin/src/module/thermistor/thermistor_70.h | 1 + Marlin/src/module/thermistor/thermistor_71.h | 1 + Marlin/src/module/thermistor/thermistor_75.h | 1 + Marlin/src/module/thermistor/thermistor_8.h | 1 + Marlin/src/module/thermistor/thermistor_9.h | 1 + Marlin/src/module/thermistor/thermistor_998.h | 1 + Marlin/src/module/thermistor/thermistor_999.h | 1 + Marlin/src/pins/pins_3DRAG.h | 1 + Marlin/src/pins/pins_5DPRINT.h | 1 + Marlin/src/pins/pins_ADSK.h | 1 + Marlin/src/pins/pins_ALLIGATOR_R2.h | 1 + Marlin/src/pins/pins_ANET_10.h | 1 + Marlin/src/pins/pins_ARCHIM1.h | 1 + Marlin/src/pins/pins_ARCHIM2.h | 1 + Marlin/src/pins/pins_ARMED.h | 1 + Marlin/src/pins/pins_AZSMZ_MINI.h | 1 + Marlin/src/pins/pins_AZTEEG_X1.h | 1 + Marlin/src/pins/pins_AZTEEG_X3.h | 1 + Marlin/src/pins/pins_AZTEEG_X3_PRO.h | 1 + Marlin/src/pins/pins_AZTEEG_X5_GT.h | 1 + Marlin/src/pins/pins_AZTEEG_X5_MINI.h | 1 + Marlin/src/pins/pins_AZTEEG_X5_MINI_WIFI.h | 1 + Marlin/src/pins/pins_BAM_DICE_DUE.h | 1 + Marlin/src/pins/pins_BEAST.h | 1 + Marlin/src/pins/pins_BIGTREE_SKR_MINI_V1_1.h | 1 + Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h | 1 + Marlin/src/pins/pins_BIQU_B300_V1.0.h | 1 + Marlin/src/pins/pins_BIQU_BQ111_A4.h | 1 + Marlin/src/pins/pins_BIQU_KFB_2.h | 1 + Marlin/src/pins/pins_BIQU_SKR_V1.1.h | 1 + Marlin/src/pins/pins_BLACK_STM32F407VE.h | 1 + Marlin/src/pins/pins_BQ_ZUM_MEGA_3D.h | 1 + Marlin/src/pins/pins_BRAINWAVE.h | 1 + Marlin/src/pins/pins_BRAINWAVE_PRO.h | 1 + Marlin/src/pins/pins_CHEAPTRONIC.h | 1 + Marlin/src/pins/pins_CHEAPTRONICv2.h | 1 + Marlin/src/pins/pins_CHITU3D.h | 1 + Marlin/src/pins/pins_COHESION3D_MINI.h | 1 + Marlin/src/pins/pins_COHESION3D_REMIX.h | 1 + Marlin/src/pins/pins_DUE3DOM.h | 1 + Marlin/src/pins/pins_DUE3DOM_MINI.h | 1 + Marlin/src/pins/pins_DUPLICATOR_I3_PLUS.h | 1 + Marlin/src/pins/pins_EINSTART-S.h | 1 + Marlin/src/pins/pins_EINSY_RAMBO.h | 1 + Marlin/src/pins/pins_EINSY_RETRO.h | 1 + Marlin/src/pins/pins_ELEFU_3.h | 1 + Marlin/src/pins/pins_ESP32.h | 1 + Marlin/src/pins/pins_FELIX2.h | 1 + Marlin/src/pins/pins_FORMBOT_RAPTOR.h | 1 + Marlin/src/pins/pins_FORMBOT_RAPTOR2.h | 1 + Marlin/src/pins/pins_FORMBOT_TREX2PLUS.h | 1 + Marlin/src/pins/pins_FORMBOT_TREX3.h | 1 + Marlin/src/pins/pins_FYSETC_AIO_II.h | 1 + Marlin/src/pins/pins_FYSETC_CHEETAH.h | 1 + Marlin/src/pins/pins_FYSETC_F6_13.h | 1 + Marlin/src/pins/pins_GEN3_MONOLITHIC.h | 1 + Marlin/src/pins/pins_GEN3_PLUS.h | 1 + Marlin/src/pins/pins_GEN6.h | 1 + Marlin/src/pins/pins_GEN6_DELUXE.h | 1 + Marlin/src/pins/pins_GEN7_12.h | 1 + Marlin/src/pins/pins_GEN7_13.h | 1 + Marlin/src/pins/pins_GEN7_14.h | 1 + Marlin/src/pins/pins_GEN7_CUSTOM.h | 1 + Marlin/src/pins/pins_GT2560_REV_A.h | 1 + Marlin/src/pins/pins_GT2560_REV_A_PLUS.h | 1 + Marlin/src/pins/pins_GT2560_V3.h | 1 + Marlin/src/pins/pins_GT2560_V3_A20.h | 1 + Marlin/src/pins/pins_GT2560_V3_MC2.h | 1 + Marlin/src/pins/pins_GTM32_PRO_VB.h | 1 + Marlin/src/pins/pins_JGAURORA_A5S_A1.h | 1 + Marlin/src/pins/pins_K8200.h | 1 + Marlin/src/pins/pins_K8400.h | 1 + Marlin/src/pins/pins_K8800.h | 1 + Marlin/src/pins/pins_LEAPFROG.h | 1 + Marlin/src/pins/pins_MAKEBOARD_MINI.h | 1 + Marlin/src/pins/pins_MALYAN_M200.h | 1 + Marlin/src/pins/pins_MEGACONTROLLER.h | 1 + Marlin/src/pins/pins_MEGATRONICS.h | 1 + Marlin/src/pins/pins_MEGATRONICS_2.h | 1 + Marlin/src/pins/pins_MEGATRONICS_3.h | 1 + Marlin/src/pins/pins_MELZI.h | 1 + Marlin/src/pins/pins_MELZI_CREALITY.h | 1 + Marlin/src/pins/pins_MELZI_MAKR3D.h | 1 + Marlin/src/pins/pins_MELZI_MALYAN.h | 1 + Marlin/src/pins/pins_MELZI_TRONXY.h | 1 + Marlin/src/pins/pins_MIGHTYBOARD_REVE.h | 1 + Marlin/src/pins/pins_MINIRAMBO.h | 1 + Marlin/src/pins/pins_MINITRONICS.h | 1 + Marlin/src/pins/pins_MKS_BASE.h | 1 + Marlin/src/pins/pins_MKS_BASE_14.h | 1 + Marlin/src/pins/pins_MKS_BASE_15.h | 1 + Marlin/src/pins/pins_MKS_BASE_HEROIC.h | 1 + Marlin/src/pins/pins_MKS_GEN_13.h | 1 + Marlin/src/pins/pins_MKS_GEN_L.h | 1 + Marlin/src/pins/pins_MKS_ROBIN.h | 1 + Marlin/src/pins/pins_MKS_ROBIN_MINI.h | 1 + Marlin/src/pins/pins_MKS_ROBIN_NANO.h | 1 + Marlin/src/pins/pins_MKS_SBASE.h | 1 + Marlin/src/pins/pins_MKS_SGEN.h | 1 + Marlin/src/pins/pins_MKS_SGEN_L.h | 1 + Marlin/src/pins/pins_MORPHEUS.h | 1 + Marlin/src/pins/pins_OMCA.h | 1 + Marlin/src/pins/pins_OMCA_A.h | 1 + Marlin/src/pins/pins_PRINTRBOARD.h | 1 + Marlin/src/pins/pins_PRINTRBOARD_G2.h | 1 + Marlin/src/pins/pins_PRINTRBOARD_REVF.h | 1 + Marlin/src/pins/pins_RADDS.h | 1 + Marlin/src/pins/pins_RAMBO.h | 1 + Marlin/src/pins/pins_RAMPS.h | 1 + Marlin/src/pins/pins_RAMPS4DUE.h | 1 + Marlin/src/pins/pins_RAMPS_13.h | 1 + Marlin/src/pins/pins_RAMPS_CREALITY.h | 1 + Marlin/src/pins/pins_RAMPS_DAGOMA.h | 1 + Marlin/src/pins/pins_RAMPS_DUO.h | 1 + Marlin/src/pins/pins_RAMPS_ENDER_4.h | 1 + Marlin/src/pins/pins_RAMPS_FD_V1.h | 1 + Marlin/src/pins/pins_RAMPS_FD_V2.h | 1 + Marlin/src/pins/pins_RAMPS_LINUX.h | 1 + Marlin/src/pins/pins_RAMPS_OLD.h | 1 + Marlin/src/pins/pins_RAMPS_PLUS.h | 1 + Marlin/src/pins/pins_RAMPS_RE_ARM.h | 1 + Marlin/src/pins/pins_RAMPS_SMART.h | 1 + Marlin/src/pins/pins_REMRAM_V1.h | 1 + Marlin/src/pins/pins_RIGIDBOARD.h | 1 + Marlin/src/pins/pins_RIGIDBOARD_V2.h | 1 + Marlin/src/pins/pins_RL200.h | 1 + Marlin/src/pins/pins_RUMBA.h | 1 + Marlin/src/pins/pins_RUMBA32.h | 1 + Marlin/src/pins/pins_RUMBA_RAISE3D.h | 1 + Marlin/src/pins/pins_SAINSMART_2IN1.h | 1 + Marlin/src/pins/pins_SANGUINOLOLU_11.h | 1 + Marlin/src/pins/pins_SANGUINOLOLU_12.h | 1 + Marlin/src/pins/pins_SAV_MKI.h | 1 + Marlin/src/pins/pins_SCOOVO_X9H.h | 1 + Marlin/src/pins/pins_SELENA_COMPACT.h | 1 + Marlin/src/pins/pins_SETHI.h | 1 + Marlin/src/pins/pins_SILVER_GATE.h | 1 + Marlin/src/pins/pins_SMOOTHIEBOARD.h | 1 + Marlin/src/pins/pins_STB_11.h | 1 + Marlin/src/pins/pins_STEVAL.h | 1 + Marlin/src/pins/pins_STM32F1R.h | 1 + Marlin/src/pins/pins_STM32F4.h | 1 + Marlin/src/pins/pins_STM3R_MINI.h | 1 + Marlin/src/pins/pins_TEENSY2.h | 1 + Marlin/src/pins/pins_TEENSY31_32.h | 1 + Marlin/src/pins/pins_TEENSY35_36.h | 1 + Marlin/src/pins/pins_TH3D_EZBOARD.h | 1 + Marlin/src/pins/pins_THE_BORG.h | 1 + Marlin/src/pins/pins_TRIGORILLA_13.h | 1 + Marlin/src/pins/pins_TRIGORILLA_14.h | 1 + Marlin/src/pins/pins_TRONXY_V3_1_0.h | 1 + Marlin/src/pins/pins_ULTIMAIN_2.h | 1 + Marlin/src/pins/pins_ULTIMAKER.h | 1 + Marlin/src/pins/pins_ULTIMAKER_OLD.h | 1 + Marlin/src/pins/pins_ULTRATRONICS_PRO.h | 1 + Marlin/src/pins/pins_VORON.h | 1 + Marlin/src/pins/pins_ZRIB_V20.h | 1 + Marlin/src/pins/pins_Z_BOLT_X_SERIES.h | 1 + config/examples/Anet/E16/_Statusscreen.h | 1 + config/examples/AnimationExample/_Bootscreen.h | 1 + config/examples/BQ/Hephestos_2/_Bootscreen.h | 1 + config/examples/Cartesio/_Bootscreen.h | 1 + config/examples/Creality/CR-10/_Bootscreen.h | 1 + config/examples/Creality/CR-10/_Statusscreen.h | 1 + config/examples/Creality/CR-10S/_Bootscreen.h | 1 + config/examples/Creality/CR-10S/_Statusscreen.h | 1 + config/examples/Creality/CR-10_5S/_Bootscreen.h | 1 + config/examples/Creality/CR-10mini/_Bootscreen.h | 1 + config/examples/Creality/CR-10mini/_Statusscreen.h | 1 + config/examples/Creality/Ender-2/_Bootscreen.h | 1 + config/examples/Creality/Ender-2/_Statusscreen.h | 1 + config/examples/Creality/Ender-3/_Bootscreen.h | 1 + config/examples/Creality/Ender-3/_Statusscreen.h | 1 + config/examples/EVNOVO (Artillery)/Sidewinder X1/_Bootscreen.h | 1 + config/examples/Formbot/Raptor/_Bootscreen.h | 1 + config/examples/Formbot/Raptor/_Statusscreen.h | 1 + config/examples/Formbot/T_Rex_2+/_Bootscreen.h | 1 + config/examples/Formbot/T_Rex_2+/_Statusscreen.h | 1 + config/examples/Formbot/T_Rex_3/_Bootscreen.h | 1 + config/examples/Formbot/T_Rex_3/_Statusscreen.h | 1 + config/examples/MakerParts/_Bootscreen.h | 1 + config/examples/Malyan/M150/_Bootscreen.h | 1 + config/examples/Tevo/Tarantula Pro/_Bootscreen.h | 1 + config/examples/VORONDesign/_Bootscreen.h | 1 + config/examples/gCreate/gMax1.5+/_Bootscreen.h | 1 + 255 files changed, 251 insertions(+), 5 deletions(-) diff --git a/Marlin/src/HAL/HAL_DUE/G2_PWM.h b/Marlin/src/HAL/HAL_DUE/G2_PWM.h index a3722b603c4..8086648bcff 100644 --- a/Marlin/src/HAL/HAL_DUE/G2_PWM.h +++ b/Marlin/src/HAL/HAL_DUE/G2_PWM.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * This module is stripped down version of the LPC1768_PWM.h file from diff --git a/Marlin/src/HAL/HAL_DUE/SanityCheck.h b/Marlin/src/HAL/HAL_DUE/SanityCheck.h index c9fcf40a5f9..a8d51edfab0 100644 --- a/Marlin/src/HAL/HAL_DUE/SanityCheck.h +++ b/Marlin/src/HAL/HAL_DUE/SanityCheck.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Test Arduino Due specific configuration values for errors at compile-time. diff --git a/Marlin/src/HAL/HAL_ESP32/FlushableHardwareSerial.h b/Marlin/src/HAL/HAL_ESP32/FlushableHardwareSerial.h index e23ace9f234..66bdbd7aaea 100644 --- a/Marlin/src/HAL/HAL_ESP32/FlushableHardwareSerial.h +++ b/Marlin/src/HAL/HAL_ESP32/FlushableHardwareSerial.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #ifdef ARDUINO_ARCH_ESP32 diff --git a/Marlin/src/HAL/HAL_ESP32/SanityCheck.h b/Marlin/src/HAL/HAL_ESP32/SanityCheck.h index 517cfe6a359..9c62a353e78 100644 --- a/Marlin/src/HAL/HAL_ESP32/SanityCheck.h +++ b/Marlin/src/HAL/HAL_ESP32/SanityCheck.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #if ENABLED(EMERGENCY_PARSER) #error "EMERGENCY_PARSER is not yet implemented for ESP32. Disable EMERGENCY_PARSER to continue." diff --git a/Marlin/src/HAL/HAL_ESP32/servotimers.h b/Marlin/src/HAL/HAL_ESP32/servotimers.h index 5680d26ddc3..85f26f40162 100644 --- a/Marlin/src/HAL/HAL_ESP32/servotimers.h +++ b/Marlin/src/HAL/HAL_ESP32/servotimers.h @@ -19,3 +19,4 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once diff --git a/Marlin/src/HAL/HAL_LINUX/SanityCheck.h b/Marlin/src/HAL/HAL_LINUX/SanityCheck.h index 36ebf21cd67..776fa2f1393 100644 --- a/Marlin/src/HAL/HAL_LINUX/SanityCheck.h +++ b/Marlin/src/HAL/HAL_LINUX/SanityCheck.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Test X86_64-specific configuration values for errors at compile-time. diff --git a/Marlin/src/HAL/HAL_LPC1768/HAL_Servo_LPC1768.h b/Marlin/src/HAL/HAL_LPC1768/HAL_Servo_LPC1768.h index c5aa9c2fdee..8b511032cb9 100644 --- a/Marlin/src/HAL/HAL_LPC1768/HAL_Servo_LPC1768.h +++ b/Marlin/src/HAL/HAL_LPC1768/HAL_Servo_LPC1768.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * servo.h - Interrupt driven Servo library for Arduino using 16 bit timers- Version 2 diff --git a/Marlin/src/HAL/HAL_LPC1768/SanityCheck.h b/Marlin/src/HAL/HAL_LPC1768/SanityCheck.h index fb3d5abf552..6223e006df4 100644 --- a/Marlin/src/HAL/HAL_LPC1768/SanityCheck.h +++ b/Marlin/src/HAL/HAL_LPC1768/SanityCheck.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Test LPC176x-specific configuration values for errors at compile-time. diff --git a/Marlin/src/HAL/HAL_LPC1768/include/SPI.h b/Marlin/src/HAL/HAL_LPC1768/include/SPI.h index 2741e67df0f..559759ea031 100644 --- a/Marlin/src/HAL/HAL_LPC1768/include/SPI.h +++ b/Marlin/src/HAL/HAL_LPC1768/include/SPI.h @@ -19,7 +19,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ - #pragma once #include "../../shared/HAL_SPI.h" diff --git a/Marlin/src/HAL/HAL_LPC1768/persistent_store_api.h b/Marlin/src/HAL/HAL_LPC1768/persistent_store_api.h index 730df72d6f2..cafa53b30e1 100644 --- a/Marlin/src/HAL/HAL_LPC1768/persistent_store_api.h +++ b/Marlin/src/HAL/HAL_LPC1768/persistent_store_api.h @@ -19,6 +19,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once + #include "../shared/persistent_store_api.h" #define FLASH_EEPROM_EMULATION diff --git a/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_I2C_routines.h b/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_I2C_routines.h index 606ce67b656..11e05ba0d0b 100644 --- a/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_I2C_routines.h +++ b/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_I2C_routines.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once void u8g_i2c_init(uint8_t options); uint8_t u8g_i2c_wait(uint8_t mask, uint8_t pos); diff --git a/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_defines.h b/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_defines.h index 876f10be3ea..1153329d898 100644 --- a/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_defines.h +++ b/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_defines.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * LPC1768 LCD-specific defines diff --git a/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_delay.h b/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_delay.h index 4db8557464d..f37773d21cb 100644 --- a/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_delay.h +++ b/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_delay.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * LCD delay routines - used by all the drivers. diff --git a/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_pin_routines.h b/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_pin_routines.h index 63b7b403c73..569706b483d 100644 --- a/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_pin_routines.h +++ b/Marlin/src/HAL/HAL_LPC1768/u8g/HAL_LCD_pin_routines.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Low level pin manipulation routines - used by all the drivers. diff --git a/Marlin/src/HAL/HAL_STM32F1/SanityCheck.h b/Marlin/src/HAL/HAL_STM32F1/SanityCheck.h index f406d1d4f1c..f356c0da078 100644 --- a/Marlin/src/HAL/HAL_STM32F1/SanityCheck.h +++ b/Marlin/src/HAL/HAL_STM32F1/SanityCheck.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Test STM32F1-specific configuration values for errors at compile-time. diff --git a/Marlin/src/HAL/HAL_STM32F4/SanityCheck.h b/Marlin/src/HAL/HAL_STM32F4/SanityCheck.h index 0ce8b83b838..e9eb8fa8262 100644 --- a/Marlin/src/HAL/HAL_STM32F4/SanityCheck.h +++ b/Marlin/src/HAL/HAL_STM32F4/SanityCheck.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Test STM32F4-specific configuration values for errors at compile-time. diff --git a/Marlin/src/HAL/HAL_STM32F7/SanityCheck.h b/Marlin/src/HAL/HAL_STM32F7/SanityCheck.h index 45b46ebcfb5..e292de4efe4 100644 --- a/Marlin/src/HAL/HAL_STM32F7/SanityCheck.h +++ b/Marlin/src/HAL/HAL_STM32F7/SanityCheck.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Test STM32F7-specific configuration values for errors at compile-time. diff --git a/Marlin/src/HAL/HAL_TEENSY31_32/HAL_Servo_Teensy.h b/Marlin/src/HAL/HAL_TEENSY31_32/HAL_Servo_Teensy.h index 40a8181bf68..e096dc60c8e 100644 --- a/Marlin/src/HAL/HAL_TEENSY31_32/HAL_Servo_Teensy.h +++ b/Marlin/src/HAL/HAL_TEENSY31_32/HAL_Servo_Teensy.h @@ -19,7 +19,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ - #pragma once #include <Servo.h> diff --git a/Marlin/src/HAL/HAL_TEENSY31_32/HAL_timers_Teensy.h b/Marlin/src/HAL/HAL_TEENSY31_32/HAL_timers_Teensy.h index c0c320a6f33..8c9836d130c 100644 --- a/Marlin/src/HAL/HAL_TEENSY31_32/HAL_timers_Teensy.h +++ b/Marlin/src/HAL/HAL_TEENSY31_32/HAL_timers_Teensy.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Description: HAL for diff --git a/Marlin/src/HAL/HAL_TEENSY31_32/SanityCheck.h b/Marlin/src/HAL/HAL_TEENSY31_32/SanityCheck.h index 9bc6217a069..389d27824ee 100644 --- a/Marlin/src/HAL/HAL_TEENSY31_32/SanityCheck.h +++ b/Marlin/src/HAL/HAL_TEENSY31_32/SanityCheck.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Test TEENSY35_36 specific configuration values for errors at compile-time. diff --git a/Marlin/src/HAL/HAL_TEENSY31_32/endstop_interrupts.h b/Marlin/src/HAL/HAL_TEENSY31_32/endstop_interrupts.h index 71e2eb33dc8..1af89e0f33f 100644 --- a/Marlin/src/HAL/HAL_TEENSY31_32/endstop_interrupts.h +++ b/Marlin/src/HAL/HAL_TEENSY31_32/endstop_interrupts.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Endstop Interrupts diff --git a/Marlin/src/HAL/HAL_TEENSY31_32/fastio_Teensy.h b/Marlin/src/HAL/HAL_TEENSY31_32/fastio_Teensy.h index 2af63de8187..7bcd601b586 100644 --- a/Marlin/src/HAL/HAL_TEENSY31_32/fastio_Teensy.h +++ b/Marlin/src/HAL/HAL_TEENSY31_32/fastio_Teensy.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Fast I/O Routines for Teensy 3.5 and Teensy 3.6 diff --git a/Marlin/src/HAL/HAL_TEENSY31_32/spi_pins.h b/Marlin/src/HAL/HAL_TEENSY31_32/spi_pins.h index 74d130d7e68..8a0ab8f9a49 100644 --- a/Marlin/src/HAL/HAL_TEENSY31_32/spi_pins.h +++ b/Marlin/src/HAL/HAL_TEENSY31_32/spi_pins.h @@ -19,7 +19,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ - #pragma once #define SCK_PIN 13 diff --git a/Marlin/src/HAL/HAL_TEENSY31_32/watchdog_Teensy.h b/Marlin/src/HAL/HAL_TEENSY31_32/watchdog_Teensy.h index 82a9eee29e3..ceb041b4571 100644 --- a/Marlin/src/HAL/HAL_TEENSY31_32/watchdog_Teensy.h +++ b/Marlin/src/HAL/HAL_TEENSY31_32/watchdog_Teensy.h @@ -19,7 +19,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ - #pragma once #include "HAL.h" diff --git a/Marlin/src/HAL/HAL_TEENSY35_36/SanityCheck.h b/Marlin/src/HAL/HAL_TEENSY35_36/SanityCheck.h index 823fceeb8d3..6a126b683eb 100644 --- a/Marlin/src/HAL/HAL_TEENSY35_36/SanityCheck.h +++ b/Marlin/src/HAL/HAL_TEENSY35_36/SanityCheck.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Test TEENSY35_36 specific configuration values for errors at compile-time. diff --git a/Marlin/src/HAL/shared/servo.h b/Marlin/src/HAL/shared/servo.h index 4eace5a072a..b6b2d13e98c 100644 --- a/Marlin/src/HAL/shared/servo.h +++ b/Marlin/src/HAL/shared/servo.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * servo.h - Interrupt driven Servo library for Arduino using 16 bit timers- Version 2 diff --git a/Marlin/src/core/debug_out.h b/Marlin/src/core/debug_out.h index e3d917440c2..7eb93a70200 100644 --- a/Marlin/src/core/debug_out.h +++ b/Marlin/src/core/debug_out.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // // Serial aliases for debugging. diff --git a/Marlin/src/core/minmax.h b/Marlin/src/core/minmax.h index 3f13767a482..042119a7e1c 100644 --- a/Marlin/src/core/minmax.h +++ b/Marlin/src/core/minmax.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #undef MIN #undef MAX diff --git a/Marlin/src/feature/Max7219_Debug_LEDs.h b/Marlin/src/feature/Max7219_Debug_LEDs.h index e20eb45470e..17b2dfb474e 100644 --- a/Marlin/src/feature/Max7219_Debug_LEDs.h +++ b/Marlin/src/feature/Max7219_Debug_LEDs.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * This module is off by default, but can be enabled to facilitate the display of diff --git a/Marlin/src/feature/prusa_MMU2/mmu2.h b/Marlin/src/feature/prusa_MMU2/mmu2.h index 592e5c410fa..0c20be9d8e0 100644 --- a/Marlin/src/feature/prusa_MMU2/mmu2.h +++ b/Marlin/src/feature/prusa_MMU2/mmu2.h @@ -19,7 +19,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ - #pragma once #include "../../inc/MarlinConfig.h" diff --git a/Marlin/src/gcode/gcode.h b/Marlin/src/gcode/gcode.h index 1f283c64531..93b91e3eec8 100644 --- a/Marlin/src/gcode/gcode.h +++ b/Marlin/src/gcode/gcode.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * gcode.h - Temporary container for all gcode handlers diff --git a/Marlin/src/lcd/dogm/HAL_LCD_com_defines.h b/Marlin/src/lcd/dogm/HAL_LCD_com_defines.h index e02bbba6f8f..c9b112ced8b 100644 --- a/Marlin/src/lcd/dogm/HAL_LCD_com_defines.h +++ b/Marlin/src/lcd/dogm/HAL_LCD_com_defines.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // Use this file to select the com driver for device drivers that are NOT in the U8G library diff --git a/Marlin/src/lcd/dogm/dogm_Bootscreen.h b/Marlin/src/lcd/dogm/dogm_Bootscreen.h index af932060602..7f0c175124a 100644 --- a/Marlin/src/lcd/dogm/dogm_Bootscreen.h +++ b/Marlin/src/lcd/dogm/dogm_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Standard Marlin Boot Screen bitmaps diff --git a/Marlin/src/lcd/dogm/dogm_Statusscreen.h b/Marlin/src/lcd/dogm/dogm_Statusscreen.h index df5f83e5ced..8031db2d731 100644 --- a/Marlin/src/lcd/dogm/dogm_Statusscreen.h +++ b/Marlin/src/lcd/dogm/dogm_Statusscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Standard Marlin Status Screen bitmaps diff --git a/Marlin/src/lcd/dogm/fontdata/fontdata_6x9_marlin.h b/Marlin/src/lcd/dogm/fontdata/fontdata_6x9_marlin.h index ece1bb9457f..42f16067638 100644 --- a/Marlin/src/lcd/dogm/fontdata/fontdata_6x9_marlin.h +++ b/Marlin/src/lcd/dogm/fontdata/fontdata_6x9_marlin.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** Fontname: -Misc-Fixed-Medium-R-Normal--9-90-75-75-C-60-ISO10646-1 diff --git a/Marlin/src/lcd/dogm/ultralcd_DOGM.h b/Marlin/src/lcd/dogm/ultralcd_DOGM.h index 90569f1c6f9..409b2b30628 100644 --- a/Marlin/src/lcd/dogm/ultralcd_DOGM.h +++ b/Marlin/src/lcd/dogm/ultralcd_DOGM.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * ultralcd_DOGM.h diff --git a/Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.h b/Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.h index 930398923bf..12f5ef9a86c 100644 --- a/Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.h +++ b/Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // NOTE - the HAL version of the rrd device uses a generic ST7920 device. See the // file u8g_dev_st7920_128x64_HAL.cpp for the HAL version. diff --git a/Marlin/src/lcd/extensible_ui/ui_api.h b/Marlin/src/lcd/extensible_ui/ui_api.h index cb59e9af8c1..6cffefe510f 100644 --- a/Marlin/src/lcd/extensible_ui/ui_api.h +++ b/Marlin/src/lcd/extensible_ui/ui_api.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /************ * ui_api.h * diff --git a/Marlin/src/lcd/thermistornames.h b/Marlin/src/lcd/thermistornames.h index 41d7b61312c..61582ca396a 100644 --- a/Marlin/src/lcd/thermistornames.h +++ b/Marlin/src/lcd/thermistornames.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * thermistornames.h diff --git a/Marlin/src/libs/vector_3.h b/Marlin/src/libs/vector_3.h index 687875d390c..0a986374d8c 100644 --- a/Marlin/src/libs/vector_3.h +++ b/Marlin/src/libs/vector_3.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * vector_3.cpp - Vector library for bed leveling diff --git a/Marlin/src/module/delta.h b/Marlin/src/module/delta.h index 879bc2d9b50..aa842fb026f 100644 --- a/Marlin/src/module/delta.h +++ b/Marlin/src/module/delta.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * delta.h - Delta-specific functions diff --git a/Marlin/src/module/motion.h b/Marlin/src/module/motion.h index 552b7ead34e..35819187ae5 100644 --- a/Marlin/src/module/motion.h +++ b/Marlin/src/module/motion.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * motion.h diff --git a/Marlin/src/module/scara.h b/Marlin/src/module/scara.h index 9b1790bd749..44f07026e3c 100644 --- a/Marlin/src/module/scara.h +++ b/Marlin/src/module/scara.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * scara.h - SCARA-specific functions diff --git a/Marlin/src/module/thermistor/thermistor_1.h b/Marlin/src/module/thermistor/thermistor_1.h index e0e740afd16..f2eb078081c 100644 --- a/Marlin/src/module/thermistor/thermistor_1.h +++ b/Marlin/src/module/thermistor/thermistor_1.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 4092 K, 4.7 kOhm pull-up, bed thermistor const short temptable_1[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_10.h b/Marlin/src/module/thermistor/thermistor_10.h index 66e6ae8cdc8..0ef9d9d6352 100644 --- a/Marlin/src/module/thermistor/thermistor_10.h +++ b/Marlin/src/module/thermistor/thermistor_10.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 3960 K, 4.7 kOhm pull-up, RS thermistor 198-961 const short temptable_10[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_1010.h b/Marlin/src/module/thermistor/thermistor_1010.h index 921ce3b82fe..ab2b1fb443e 100644 --- a/Marlin/src/module/thermistor/thermistor_1010.h +++ b/Marlin/src/module/thermistor/thermistor_1010.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // Pt1000 with 1k0 pullup const short temptable_1010[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_1047.h b/Marlin/src/module/thermistor/thermistor_1047.h index dbe18e80eb7..8010d8ebc19 100644 --- a/Marlin/src/module/thermistor/thermistor_1047.h +++ b/Marlin/src/module/thermistor/thermistor_1047.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // Pt1000 with 4k7 pullup const short temptable_1047[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_11.h b/Marlin/src/module/thermistor/thermistor_11.h index 265c2d562a3..f9a9524a150 100644 --- a/Marlin/src/module/thermistor/thermistor_11.h +++ b/Marlin/src/module/thermistor/thermistor_11.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 3950 K, 4.7 kOhm pull-up, QU-BD silicone bed QWG-104F-3950 thermistor const short temptable_11[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_110.h b/Marlin/src/module/thermistor/thermistor_110.h index d9b6888980b..a55a1936113 100644 --- a/Marlin/src/module/thermistor/thermistor_110.h +++ b/Marlin/src/module/thermistor/thermistor_110.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // Pt100 with 1k0 pullup const short temptable_110[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_12.h b/Marlin/src/module/thermistor/thermistor_12.h index c76ceb952ad..9210bf9131a 100644 --- a/Marlin/src/module/thermistor/thermistor_12.h +++ b/Marlin/src/module/thermistor/thermistor_12.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 4700 K, 4.7 kOhm pull-up, (personal calibration for Makibox hot bed) const short temptable_12[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_13.h b/Marlin/src/module/thermistor/thermistor_13.h index fcea0984a63..703ec74159c 100644 --- a/Marlin/src/module/thermistor/thermistor_13.h +++ b/Marlin/src/module/thermistor/thermistor_13.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 4100 K, 4.7 kOhm pull-up, Hisens thermistor const short temptable_13[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_147.h b/Marlin/src/module/thermistor/thermistor_147.h index 832a5988349..b020103a380 100644 --- a/Marlin/src/module/thermistor/thermistor_147.h +++ b/Marlin/src/module/thermistor/thermistor_147.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // Pt100 with 4k7 pullup const short temptable_147[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_15.h b/Marlin/src/module/thermistor/thermistor_15.h index bb1305a9ee0..aab32c05c08 100644 --- a/Marlin/src/module/thermistor/thermistor_15.h +++ b/Marlin/src/module/thermistor/thermistor_15.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // 100k bed thermistor in JGAurora A5. Calibrated by Sam Pinches 21st Jan 2018 using cheap k-type thermocouple inserted into heater block, using TM-902C meter. const short temptable_15[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_18.h b/Marlin/src/module/thermistor/thermistor_18.h index 4741a77642f..46f1be452a8 100644 --- a/Marlin/src/module/thermistor/thermistor_18.h +++ b/Marlin/src/module/thermistor/thermistor_18.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // ATC Semitec 204GT-2 (4.7k pullup) Dagoma.Fr - MKS_Base_DKU001327 - version (measured/tested/approved) const short temptable_18[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_2.h b/Marlin/src/module/thermistor/thermistor_2.h index d2e4461585e..4a59e8d818d 100644 --- a/Marlin/src/module/thermistor/thermistor_2.h +++ b/Marlin/src/module/thermistor/thermistor_2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // // R25 = 200 kOhm, beta25 = 4338 K, 4.7 kOhm pull-up, ATC Semitec 204GT-2 diff --git a/Marlin/src/module/thermistor/thermistor_20.h b/Marlin/src/module/thermistor/thermistor_20.h index b81d106ddd5..fc01858f4bb 100644 --- a/Marlin/src/module/thermistor/thermistor_20.h +++ b/Marlin/src/module/thermistor/thermistor_20.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // PT100 with INA826 amp on Ultimaker v2.0 electronics // The PT100 in the Ultimaker v2.0 electronics has a high sample value for a high temperature. diff --git a/Marlin/src/module/thermistor/thermistor_3.h b/Marlin/src/module/thermistor/thermistor_3.h index 6323b2c8d01..bccfcb04c12 100644 --- a/Marlin/src/module/thermistor/thermistor_3.h +++ b/Marlin/src/module/thermistor/thermistor_3.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 4120 K, 4.7 kOhm pull-up, mendel-parts const short temptable_3[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_4.h b/Marlin/src/module/thermistor/thermistor_4.h index 1f03a0c86a4..46462ba5668 100644 --- a/Marlin/src/module/thermistor/thermistor_4.h +++ b/Marlin/src/module/thermistor/thermistor_4.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 10 kOhm, beta25 = 3950 K, 4.7 kOhm pull-up, Generic 10k thermistor const short temptable_4[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_5.h b/Marlin/src/module/thermistor/thermistor_5.h index f32364b601b..0d3905ac1c0 100644 --- a/Marlin/src/module/thermistor/thermistor_5.h +++ b/Marlin/src/module/thermistor/thermistor_5.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 4267 K, 4.7 kOhm pull-up // 100k ParCan thermistor (104GT-2) diff --git a/Marlin/src/module/thermistor/thermistor_501.h b/Marlin/src/module/thermistor/thermistor_501.h index d73d28964b7..6e551641f93 100644 --- a/Marlin/src/module/thermistor/thermistor_501.h +++ b/Marlin/src/module/thermistor/thermistor_501.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // 100k Zonestar thermistor. Adjusted By Hally const short temptable_501[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_51.h b/Marlin/src/module/thermistor/thermistor_51.h index 3a32ed569b6..93306d0f819 100644 --- a/Marlin/src/module/thermistor/thermistor_51.h +++ b/Marlin/src/module/thermistor/thermistor_51.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 4092 K, 1 kOhm pull-up, // 100k EPCOS (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!) diff --git a/Marlin/src/module/thermistor/thermistor_52.h b/Marlin/src/module/thermistor/thermistor_52.h index 3e93d2ca6ec..0e2b028e45f 100644 --- a/Marlin/src/module/thermistor/thermistor_52.h +++ b/Marlin/src/module/thermistor/thermistor_52.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 200 kOhm, beta25 = 4338 K, 1 kOhm pull-up, // 200k ATC Semitec 204GT-2 (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!) diff --git a/Marlin/src/module/thermistor/thermistor_55.h b/Marlin/src/module/thermistor/thermistor_55.h index 1ec76c74d3f..b9a462eab34 100644 --- a/Marlin/src/module/thermistor/thermistor_55.h +++ b/Marlin/src/module/thermistor/thermistor_55.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 4267 K, 1 kOhm pull-up, // 100k ATC Semitec 104GT-2 (Used on ParCan) (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!) diff --git a/Marlin/src/module/thermistor/thermistor_6.h b/Marlin/src/module/thermistor/thermistor_6.h index ea9ffd969a3..a3e6e69f853 100644 --- a/Marlin/src/module/thermistor/thermistor_6.h +++ b/Marlin/src/module/thermistor/thermistor_6.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 4092 K, 8.2 kOhm pull-up, 100k Epcos (?) thermistor const short temptable_6[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_60.h b/Marlin/src/module/thermistor/thermistor_60.h index c457b03c595..78939bfb445 100644 --- a/Marlin/src/module/thermistor/thermistor_60.h +++ b/Marlin/src/module/thermistor/thermistor_60.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 3950 K, 4.7 kOhm pull-up, // Maker's Tool Works Kapton Bed Thermistor diff --git a/Marlin/src/module/thermistor/thermistor_61.h b/Marlin/src/module/thermistor/thermistor_61.h index 8bf299282f6..3619947117e 100644 --- a/Marlin/src/module/thermistor/thermistor_61.h +++ b/Marlin/src/module/thermistor/thermistor_61.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 3950 K, 4.7 kOhm pull-up, // Formbot / Vivedino high temp 100k thermistor diff --git a/Marlin/src/module/thermistor/thermistor_66.h b/Marlin/src/module/thermistor/thermistor_66.h index 951ec5c5d81..c8669c49fc7 100644 --- a/Marlin/src/module/thermistor/thermistor_66.h +++ b/Marlin/src/module/thermistor/thermistor_66.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 2.5 MOhm, beta25 = 4500 K, 4.7 kOhm pull-up, DyzeDesign 500 °C Thermistor const short temptable_66[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_666.h b/Marlin/src/module/thermistor/thermistor_666.h index a2fd1009092..3b8c68b88d1 100755 --- a/Marlin/src/module/thermistor/thermistor_666.h +++ b/Marlin/src/module/thermistor/thermistor_666.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * This file was generated by tltgen on Thu Jul 5 15:46:43 2018. diff --git a/Marlin/src/module/thermistor/thermistor_67.h b/Marlin/src/module/thermistor/thermistor_67.h index 6bb675ad03f..9e868111238 100644 --- a/Marlin/src/module/thermistor/thermistor_67.h +++ b/Marlin/src/module/thermistor/thermistor_67.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 500 KOhm, beta25 = 3800 K, 4.7 kOhm pull-up, SliceEngineering 450 °C Thermistor const short temptable_67[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_7.h b/Marlin/src/module/thermistor/thermistor_7.h index dbb8db4bbef..609317d492e 100644 --- a/Marlin/src/module/thermistor/thermistor_7.h +++ b/Marlin/src/module/thermistor/thermistor_7.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 3974 K, 4.7 kOhm pull-up, Honeywell 135-104LAG-J01 const short temptable_7[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_70.h b/Marlin/src/module/thermistor/thermistor_70.h index b278509e3d5..f05f066bea4 100644 --- a/Marlin/src/module/thermistor/thermistor_70.h +++ b/Marlin/src/module/thermistor/thermistor_70.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // Stock BQ Hephestos 2 100k thermistor. // Created on 29/12/2017 with an ambient temperature of 20C. diff --git a/Marlin/src/module/thermistor/thermistor_71.h b/Marlin/src/module/thermistor/thermistor_71.h index f4f17e96581..0198f326ed7 100644 --- a/Marlin/src/module/thermistor/thermistor_71.h +++ b/Marlin/src/module/thermistor/thermistor_71.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 3974 K, 4.7 kOhm pull-up, Honeywell 135-104LAF-J01 // R0 = 100000 Ohm diff --git a/Marlin/src/module/thermistor/thermistor_75.h b/Marlin/src/module/thermistor/thermistor_75.h index b563484b382..a43e1f0b4b5 100644 --- a/Marlin/src/module/thermistor/thermistor_75.h +++ b/Marlin/src/module/thermistor/thermistor_75.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * R25 = 100 kOhm, beta25 = 4100 K, 4.7 kOhm pull-up, diff --git a/Marlin/src/module/thermistor/thermistor_8.h b/Marlin/src/module/thermistor/thermistor_8.h index 2849020db48..8cb9f3aaaa7 100644 --- a/Marlin/src/module/thermistor/thermistor_8.h +++ b/Marlin/src/module/thermistor/thermistor_8.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 3950 K, 10 kOhm pull-up, NTCS0603E3104FHT const short temptable_8[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_9.h b/Marlin/src/module/thermistor/thermistor_9.h index d1b8f85c07e..44274106b0e 100644 --- a/Marlin/src/module/thermistor/thermistor_9.h +++ b/Marlin/src/module/thermistor/thermistor_9.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // R25 = 100 kOhm, beta25 = 3960 K, 4.7 kOhm pull-up, GE Sensing AL03006-58.2K-97-G1 const short temptable_9[][2] PROGMEM = { diff --git a/Marlin/src/module/thermistor/thermistor_998.h b/Marlin/src/module/thermistor/thermistor_998.h index 4ea8a0950f9..74d0e6e38cb 100644 --- a/Marlin/src/module/thermistor/thermistor_998.h +++ b/Marlin/src/module/thermistor/thermistor_998.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // User-defined table 1 // Dummy Thermistor table.. It will ALWAYS read a fixed value. diff --git a/Marlin/src/module/thermistor/thermistor_999.h b/Marlin/src/module/thermistor/thermistor_999.h index afad0c2c337..9d5818bc76f 100644 --- a/Marlin/src/module/thermistor/thermistor_999.h +++ b/Marlin/src/module/thermistor/thermistor_999.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // User-defined table 2 // Dummy Thermistor table.. It will ALWAYS read a fixed value. diff --git a/Marlin/src/pins/pins_3DRAG.h b/Marlin/src/pins/pins_3DRAG.h index 3653d5c8f46..a7e686eef00 100644 --- a/Marlin/src/pins/pins_3DRAG.h +++ b/Marlin/src/pins/pins_3DRAG.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * 3DRAG (and K8200 / K8400) Arduino Mega with RAMPS v1.4 pin assignments diff --git a/Marlin/src/pins/pins_5DPRINT.h b/Marlin/src/pins/pins_5DPRINT.h index f847ab8bbf1..27e26e242a5 100755 --- a/Marlin/src/pins/pins_5DPRINT.h +++ b/Marlin/src/pins/pins_5DPRINT.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Rev B 2 JUN 2017 diff --git a/Marlin/src/pins/pins_ADSK.h b/Marlin/src/pins/pins_ADSK.h index 2eb39abafd3..e18a14dedc0 100644 --- a/Marlin/src/pins/pins_ADSK.h +++ b/Marlin/src/pins/pins_ADSK.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino DUE Shield Kit (ADSK) pin assignments diff --git a/Marlin/src/pins/pins_ALLIGATOR_R2.h b/Marlin/src/pins/pins_ALLIGATOR_R2.h index c2284aaff51..538f4b4f506 100644 --- a/Marlin/src/pins/pins_ALLIGATOR_R2.h +++ b/Marlin/src/pins/pins_ALLIGATOR_R2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Alligator Board R2 diff --git a/Marlin/src/pins/pins_ANET_10.h b/Marlin/src/pins/pins_ANET_10.h index 8a742217dee..b10a7cfa08a 100644 --- a/Marlin/src/pins/pins_ANET_10.h +++ b/Marlin/src/pins/pins_ANET_10.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Anet V1.0 board pin assignments diff --git a/Marlin/src/pins/pins_ARCHIM1.h b/Marlin/src/pins/pins_ARCHIM1.h index 7825ff3e8a8..73f78ba1e50 100644 --- a/Marlin/src/pins/pins_ARCHIM1.h +++ b/Marlin/src/pins/pins_ARCHIM1.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * ARCHIM1 pin assignment diff --git a/Marlin/src/pins/pins_ARCHIM2.h b/Marlin/src/pins/pins_ARCHIM2.h index 002b70e0795..69ea78715d5 100644 --- a/Marlin/src/pins/pins_ARCHIM2.h +++ b/Marlin/src/pins/pins_ARCHIM2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * ARCHIM2 pin assignment diff --git a/Marlin/src/pins/pins_ARMED.h b/Marlin/src/pins/pins_ARMED.h index 3dbea1be035..396495ea8f0 100644 --- a/Marlin/src/pins/pins_ARMED.h +++ b/Marlin/src/pins/pins_ARMED.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #ifndef STM32F4 #error "Oops! Select an STM32F4 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_AZSMZ_MINI.h b/Marlin/src/pins/pins_AZSMZ_MINI.h index 0f6d0736bd9..dddec6b0cd8 100644 --- a/Marlin/src/pins/pins_AZSMZ_MINI.h +++ b/Marlin/src/pins/pins_AZSMZ_MINI.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * AZSMZ MINI pin assignments diff --git a/Marlin/src/pins/pins_AZTEEG_X1.h b/Marlin/src/pins/pins_AZTEEG_X1.h index 6ea73ebf9b6..8c10bc8fbfc 100644 --- a/Marlin/src/pins/pins_AZTEEG_X1.h +++ b/Marlin/src/pins/pins_AZTEEG_X1.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Azteeg X1 pin assignments diff --git a/Marlin/src/pins/pins_AZTEEG_X3.h b/Marlin/src/pins/pins_AZTEEG_X3.h index 863048b3312..4686d9e7267 100644 --- a/Marlin/src/pins/pins_AZTEEG_X3.h +++ b/Marlin/src/pins/pins_AZTEEG_X3.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * AZTEEG_X3 Arduino Mega with RAMPS v1.4 pin assignments diff --git a/Marlin/src/pins/pins_AZTEEG_X3_PRO.h b/Marlin/src/pins/pins_AZTEEG_X3_PRO.h index cb2423901a7..25282f1eefd 100644 --- a/Marlin/src/pins/pins_AZTEEG_X3_PRO.h +++ b/Marlin/src/pins/pins_AZTEEG_X3_PRO.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * AZTEEG_X3_PRO (Arduino Mega) pin assignments diff --git a/Marlin/src/pins/pins_AZTEEG_X5_GT.h b/Marlin/src/pins/pins_AZTEEG_X5_GT.h index 081e0e12f6c..11dd45a6a57 100755 --- a/Marlin/src/pins/pins_AZTEEG_X5_GT.h +++ b/Marlin/src/pins/pins_AZTEEG_X5_GT.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Azteeg X5 GT pin assignments diff --git a/Marlin/src/pins/pins_AZTEEG_X5_MINI.h b/Marlin/src/pins/pins_AZTEEG_X5_MINI.h index b94f11a056c..41936bd6d04 100644 --- a/Marlin/src/pins/pins_AZTEEG_X5_MINI.h +++ b/Marlin/src/pins/pins_AZTEEG_X5_MINI.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Azteeg X5 MINI pin assignments diff --git a/Marlin/src/pins/pins_AZTEEG_X5_MINI_WIFI.h b/Marlin/src/pins/pins_AZTEEG_X5_MINI_WIFI.h index a62ef6e8941..03005ecb4f5 100644 --- a/Marlin/src/pins/pins_AZTEEG_X5_MINI_WIFI.h +++ b/Marlin/src/pins/pins_AZTEEG_X5_MINI_WIFI.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Azteeg X5 MINI pin assignments diff --git a/Marlin/src/pins/pins_BAM_DICE_DUE.h b/Marlin/src/pins/pins_BAM_DICE_DUE.h index 354d6e15cf0..7872d66b310 100644 --- a/Marlin/src/pins/pins_BAM_DICE_DUE.h +++ b/Marlin/src/pins/pins_BAM_DICE_DUE.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * BAM&DICE Due (Arduino Mega) pin assignments diff --git a/Marlin/src/pins/pins_BEAST.h b/Marlin/src/pins/pins_BEAST.h index 430b13b4255..57efda845a2 100644 --- a/Marlin/src/pins/pins_BEAST.h +++ b/Marlin/src/pins/pins_BEAST.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #if !defined(__STM32F1__) && !defined(__STM32F4__) #error "Oops! Select an STM32F1/4 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_BIGTREE_SKR_MINI_V1_1.h b/Marlin/src/pins/pins_BIGTREE_SKR_MINI_V1_1.h index 3f34a28e227..35544950e1e 100644 --- a/Marlin/src/pins/pins_BIGTREE_SKR_MINI_V1_1.h +++ b/Marlin/src/pins/pins_BIGTREE_SKR_MINI_V1_1.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #ifndef TARGET_STM32F1 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h b/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h index 8ec4a5bdb5a..c6e64f16544 100644 --- a/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h +++ b/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #ifndef TARGET_LPC1768 #error "Oops! Make sure you have the LPC1768 environment selected in your IDE." diff --git a/Marlin/src/pins/pins_BIQU_B300_V1.0.h b/Marlin/src/pins/pins_BIQU_B300_V1.0.h index 2df0c207b80..a05ebd99f0a 100644 --- a/Marlin/src/pins/pins_BIQU_B300_V1.0.h +++ b/Marlin/src/pins/pins_BIQU_B300_V1.0.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * BIQU BQ111-A4 diff --git a/Marlin/src/pins/pins_BIQU_BQ111_A4.h b/Marlin/src/pins/pins_BIQU_BQ111_A4.h index cb094cb4087..8095d86ab36 100644 --- a/Marlin/src/pins/pins_BIQU_BQ111_A4.h +++ b/Marlin/src/pins/pins_BIQU_BQ111_A4.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * BIQU BQ111-A4 diff --git a/Marlin/src/pins/pins_BIQU_KFB_2.h b/Marlin/src/pins/pins_BIQU_KFB_2.h index 0be628d8437..2c370efdf7d 100644 --- a/Marlin/src/pins/pins_BIQU_KFB_2.h +++ b/Marlin/src/pins/pins_BIQU_KFB_2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * KFB 2.0 – Arduino Mega2560 with RAMPS v1.4 pin assignments diff --git a/Marlin/src/pins/pins_BIQU_SKR_V1.1.h b/Marlin/src/pins/pins_BIQU_SKR_V1.1.h index 2b00a0a053b..4dbd0e6c12a 100644 --- a/Marlin/src/pins/pins_BIQU_SKR_V1.1.h +++ b/Marlin/src/pins/pins_BIQU_SKR_V1.1.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #ifndef TARGET_LPC1768 #error "Oops! Make sure you have the LPC1768 environment selected in your IDE." diff --git a/Marlin/src/pins/pins_BLACK_STM32F407VE.h b/Marlin/src/pins/pins_BLACK_STM32F407VE.h index bec870384cf..026648589e1 100644 --- a/Marlin/src/pins/pins_BLACK_STM32F407VE.h +++ b/Marlin/src/pins/pins_BLACK_STM32F407VE.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * STM32F407VET6 with RAMPS-like shield diff --git a/Marlin/src/pins/pins_BQ_ZUM_MEGA_3D.h b/Marlin/src/pins/pins_BQ_ZUM_MEGA_3D.h index 6012cb2f09d..9290e6c3b12 100644 --- a/Marlin/src/pins/pins_BQ_ZUM_MEGA_3D.h +++ b/Marlin/src/pins/pins_BQ_ZUM_MEGA_3D.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * bq ZUM Mega 3D board definition diff --git a/Marlin/src/pins/pins_BRAINWAVE.h b/Marlin/src/pins/pins_BRAINWAVE.h index ef4d1c2a464..c254aa89f95 100644 --- a/Marlin/src/pins/pins_BRAINWAVE.h +++ b/Marlin/src/pins/pins_BRAINWAVE.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Brainwave 1.0 pin assignments (AT90USB646) diff --git a/Marlin/src/pins/pins_BRAINWAVE_PRO.h b/Marlin/src/pins/pins_BRAINWAVE_PRO.h index 7c9294a0ce4..920d02f15d6 100644 --- a/Marlin/src/pins/pins_BRAINWAVE_PRO.h +++ b/Marlin/src/pins/pins_BRAINWAVE_PRO.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Brainwave Pro pin assignments (AT90USB1286) diff --git a/Marlin/src/pins/pins_CHEAPTRONIC.h b/Marlin/src/pins/pins_CHEAPTRONIC.h index 6faa7d2f311..36cfb314354 100644 --- a/Marlin/src/pins/pins_CHEAPTRONIC.h +++ b/Marlin/src/pins/pins_CHEAPTRONIC.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Cheaptronic v1.0 pin assignments diff --git a/Marlin/src/pins/pins_CHEAPTRONICv2.h b/Marlin/src/pins/pins_CHEAPTRONICv2.h index 8d6351e4dff..111d76cd200 100644 --- a/Marlin/src/pins/pins_CHEAPTRONICv2.h +++ b/Marlin/src/pins/pins_CHEAPTRONICv2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Cheaptronic v2.0 pin assignments diff --git a/Marlin/src/pins/pins_CHITU3D.h b/Marlin/src/pins/pins_CHITU3D.h index 441c7a4f8d5..59f6b66bb79 100644 --- a/Marlin/src/pins/pins_CHITU3D.h +++ b/Marlin/src/pins/pins_CHITU3D.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #if !defined(__STM32F1__) && !defined(__STM32F4__) #error "Oops! Select an STM32F1/4 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_COHESION3D_MINI.h b/Marlin/src/pins/pins_COHESION3D_MINI.h index 1dabf5b5261..29ad150b288 100644 --- a/Marlin/src/pins/pins_COHESION3D_MINI.h +++ b/Marlin/src/pins/pins_COHESION3D_MINI.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Cohesion3D Mini pin assignments diff --git a/Marlin/src/pins/pins_COHESION3D_REMIX.h b/Marlin/src/pins/pins_COHESION3D_REMIX.h index f2271eb4ae2..5adec936ae4 100644 --- a/Marlin/src/pins/pins_COHESION3D_REMIX.h +++ b/Marlin/src/pins/pins_COHESION3D_REMIX.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Cohesion3D ReMix pin assignments diff --git a/Marlin/src/pins/pins_DUE3DOM.h b/Marlin/src/pins/pins_DUE3DOM.h index 3665f8509d4..2eb79c9dceb 100644 --- a/Marlin/src/pins/pins_DUE3DOM.h +++ b/Marlin/src/pins/pins_DUE3DOM.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * DUE3DOM pin assignments diff --git a/Marlin/src/pins/pins_DUE3DOM_MINI.h b/Marlin/src/pins/pins_DUE3DOM_MINI.h index 4a002db816d..3783b7612d5 100644 --- a/Marlin/src/pins/pins_DUE3DOM_MINI.h +++ b/Marlin/src/pins/pins_DUE3DOM_MINI.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * DUE3DOM MINI pin assignments diff --git a/Marlin/src/pins/pins_DUPLICATOR_I3_PLUS.h b/Marlin/src/pins/pins_DUPLICATOR_I3_PLUS.h index cf9ad259da6..94585715e23 100644 --- a/Marlin/src/pins/pins_DUPLICATOR_I3_PLUS.h +++ b/Marlin/src/pins/pins_DUPLICATOR_I3_PLUS.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Wanhao Duplicator i3 Plus pin assignments diff --git a/Marlin/src/pins/pins_EINSTART-S.h b/Marlin/src/pins/pins_EINSTART-S.h index 61c269d9fff..4493602e25b 100755 --- a/Marlin/src/pins/pins_EINSTART-S.h +++ b/Marlin/src/pins/pins_EINSTART-S.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Einstart-S pin assignments diff --git a/Marlin/src/pins/pins_EINSY_RAMBO.h b/Marlin/src/pins/pins_EINSY_RAMBO.h index 668eb95048d..c40bc079cb2 100644 --- a/Marlin/src/pins/pins_EINSY_RAMBO.h +++ b/Marlin/src/pins/pins_EINSY_RAMBO.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Einsy-Rambo pin assignments diff --git a/Marlin/src/pins/pins_EINSY_RETRO.h b/Marlin/src/pins/pins_EINSY_RETRO.h index 42b330c9d7a..22061914742 100644 --- a/Marlin/src/pins/pins_EINSY_RETRO.h +++ b/Marlin/src/pins/pins_EINSY_RETRO.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Einsy-Retro pin assignments diff --git a/Marlin/src/pins/pins_ELEFU_3.h b/Marlin/src/pins/pins_ELEFU_3.h index 184734ab411..ae87e8ce7b0 100644 --- a/Marlin/src/pins/pins_ELEFU_3.h +++ b/Marlin/src/pins/pins_ELEFU_3.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Elefu RA Board Pin Assignments diff --git a/Marlin/src/pins/pins_ESP32.h b/Marlin/src/pins/pins_ESP32.h index a4c6bf9237f..35e8e1ee074 100644 --- a/Marlin/src/pins/pins_ESP32.h +++ b/Marlin/src/pins/pins_ESP32.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Espressif ESP32 (Tensilica Xtensa LX6) pin assignments diff --git a/Marlin/src/pins/pins_FELIX2.h b/Marlin/src/pins/pins_FELIX2.h index d8ec91a6d87..ec02cc22cea 100644 --- a/Marlin/src/pins/pins_FELIX2.h +++ b/Marlin/src/pins/pins_FELIX2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * FELIXprinters v2.0/3.0 (RAMPS v1.4) pin assignments diff --git a/Marlin/src/pins/pins_FORMBOT_RAPTOR.h b/Marlin/src/pins/pins_FORMBOT_RAPTOR.h index c624a8a5d44..762feaa6d47 100644 --- a/Marlin/src/pins/pins_FORMBOT_RAPTOR.h +++ b/Marlin/src/pins/pins_FORMBOT_RAPTOR.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Formbot Raptor pin assignments diff --git a/Marlin/src/pins/pins_FORMBOT_RAPTOR2.h b/Marlin/src/pins/pins_FORMBOT_RAPTOR2.h index 08281e7e544..e89167e987d 100644 --- a/Marlin/src/pins/pins_FORMBOT_RAPTOR2.h +++ b/Marlin/src/pins/pins_FORMBOT_RAPTOR2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Formbot Raptor 2 pin assignments diff --git a/Marlin/src/pins/pins_FORMBOT_TREX2PLUS.h b/Marlin/src/pins/pins_FORMBOT_TREX2PLUS.h index 578147485b6..f3b12ee1bc0 100644 --- a/Marlin/src/pins/pins_FORMBOT_TREX2PLUS.h +++ b/Marlin/src/pins/pins_FORMBOT_TREX2PLUS.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Formbot pin assignments diff --git a/Marlin/src/pins/pins_FORMBOT_TREX3.h b/Marlin/src/pins/pins_FORMBOT_TREX3.h index 5beb0db7a3e..4ca2556d803 100644 --- a/Marlin/src/pins/pins_FORMBOT_TREX3.h +++ b/Marlin/src/pins/pins_FORMBOT_TREX3.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Formbot pin assignments diff --git a/Marlin/src/pins/pins_FYSETC_AIO_II.h b/Marlin/src/pins/pins_FYSETC_AIO_II.h index 4e85b0fcaaa..49879ba50d3 100644 --- a/Marlin/src/pins/pins_FYSETC_AIO_II.h +++ b/Marlin/src/pins/pins_FYSETC_AIO_II.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #ifndef __STM32F1__ #error "Oops! Select an STM32F1 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_FYSETC_CHEETAH.h b/Marlin/src/pins/pins_FYSETC_CHEETAH.h index 65459375d6d..c3be9431a2a 100644 --- a/Marlin/src/pins/pins_FYSETC_CHEETAH.h +++ b/Marlin/src/pins/pins_FYSETC_CHEETAH.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #ifndef __STM32F1__ #error "Oops! Select an STM32F1 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_FYSETC_F6_13.h b/Marlin/src/pins/pins_FYSETC_F6_13.h index ba1eb1d0484..e41cca85cde 100644 --- a/Marlin/src/pins/pins_FYSETC_F6_13.h +++ b/Marlin/src/pins/pins_FYSETC_F6_13.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once // // Fysetc F6 pin assignments diff --git a/Marlin/src/pins/pins_GEN3_MONOLITHIC.h b/Marlin/src/pins/pins_GEN3_MONOLITHIC.h index 5c71802ab3a..e48b340e1f0 100644 --- a/Marlin/src/pins/pins_GEN3_MONOLITHIC.h +++ b/Marlin/src/pins/pins_GEN3_MONOLITHIC.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Gen3 Monolithic Electronics pin assignments diff --git a/Marlin/src/pins/pins_GEN3_PLUS.h b/Marlin/src/pins/pins_GEN3_PLUS.h index b7b3f519c8c..9b5f42caa6b 100644 --- a/Marlin/src/pins/pins_GEN3_PLUS.h +++ b/Marlin/src/pins/pins_GEN3_PLUS.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Gen3+ pin assignments diff --git a/Marlin/src/pins/pins_GEN6.h b/Marlin/src/pins/pins_GEN6.h index aab92086a5c..42abd001376 100644 --- a/Marlin/src/pins/pins_GEN6.h +++ b/Marlin/src/pins/pins_GEN6.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Gen6 pin assignments diff --git a/Marlin/src/pins/pins_GEN6_DELUXE.h b/Marlin/src/pins/pins_GEN6_DELUXE.h index e419a431b0a..359f4e64ac3 100644 --- a/Marlin/src/pins/pins_GEN6_DELUXE.h +++ b/Marlin/src/pins/pins_GEN6_DELUXE.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Gen6 Deluxe pin assignments diff --git a/Marlin/src/pins/pins_GEN7_12.h b/Marlin/src/pins/pins_GEN7_12.h index 22996a748bc..2b9411feb3e 100644 --- a/Marlin/src/pins/pins_GEN7_12.h +++ b/Marlin/src/pins/pins_GEN7_12.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Gen7 v1.1, v1.2, v1.3 pin assignments diff --git a/Marlin/src/pins/pins_GEN7_13.h b/Marlin/src/pins/pins_GEN7_13.h index fa9af7eb0f0..d3802552434 100644 --- a/Marlin/src/pins/pins_GEN7_13.h +++ b/Marlin/src/pins/pins_GEN7_13.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Gen7 v1.3 pin assignments diff --git a/Marlin/src/pins/pins_GEN7_14.h b/Marlin/src/pins/pins_GEN7_14.h index 73ebb08a302..6228db7ac40 100644 --- a/Marlin/src/pins/pins_GEN7_14.h +++ b/Marlin/src/pins/pins_GEN7_14.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Gen7 v1.4 pin assignments diff --git a/Marlin/src/pins/pins_GEN7_CUSTOM.h b/Marlin/src/pins/pins_GEN7_CUSTOM.h index cca6060b079..04689b2ca8a 100644 --- a/Marlin/src/pins/pins_GEN7_CUSTOM.h +++ b/Marlin/src/pins/pins_GEN7_CUSTOM.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Gen7 Alfons3 board pin assignments diff --git a/Marlin/src/pins/pins_GT2560_REV_A.h b/Marlin/src/pins/pins_GT2560_REV_A.h index d609163fc09..ba4f4830ac5 100644 --- a/Marlin/src/pins/pins_GT2560_REV_A.h +++ b/Marlin/src/pins/pins_GT2560_REV_A.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Geeetech GT2560 Revision A board pin assignments, based on the work of diff --git a/Marlin/src/pins/pins_GT2560_REV_A_PLUS.h b/Marlin/src/pins/pins_GT2560_REV_A_PLUS.h index 4c9abef60fd..8becf9bcfe9 100644 --- a/Marlin/src/pins/pins_GT2560_REV_A_PLUS.h +++ b/Marlin/src/pins/pins_GT2560_REV_A_PLUS.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Geeetech GT2560 Revision A+ board pin assignments diff --git a/Marlin/src/pins/pins_GT2560_V3.h b/Marlin/src/pins/pins_GT2560_V3.h index b5688a2d679..4f0667d0b72 100644 --- a/Marlin/src/pins/pins_GT2560_V3.h +++ b/Marlin/src/pins/pins_GT2560_V3.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * GT2560 V3.0 pin assignment diff --git a/Marlin/src/pins/pins_GT2560_V3_A20.h b/Marlin/src/pins/pins_GT2560_V3_A20.h index 8925d1701f7..5565ac62cd0 100644 --- a/Marlin/src/pins/pins_GT2560_V3_A20.h +++ b/Marlin/src/pins/pins_GT2560_V3_A20.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Geeetech A20M pin assignment diff --git a/Marlin/src/pins/pins_GT2560_V3_MC2.h b/Marlin/src/pins/pins_GT2560_V3_MC2.h index 7f1eb2e0e3f..7abee9cd606 100644 --- a/Marlin/src/pins/pins_GT2560_V3_MC2.h +++ b/Marlin/src/pins/pins_GT2560_V3_MC2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /***************************************************************** * GT2560 V3.0 pin assignment (for Mecreator 2) diff --git a/Marlin/src/pins/pins_GTM32_PRO_VB.h b/Marlin/src/pins/pins_GTM32_PRO_VB.h index e5330471812..87b32bf38a7 100644 --- a/Marlin/src/pins/pins_GTM32_PRO_VB.h +++ b/Marlin/src/pins/pins_GTM32_PRO_VB.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * 24 May 2018 - @chepo for STM32F103VET6 diff --git a/Marlin/src/pins/pins_JGAURORA_A5S_A1.h b/Marlin/src/pins/pins_JGAURORA_A5S_A1.h index 28a78c36619..4802bb1c0f8 100644 --- a/Marlin/src/pins/pins_JGAURORA_A5S_A1.h +++ b/Marlin/src/pins/pins_JGAURORA_A5S_A1.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * 2017 Victor Perez Marlin for stm32f1 test diff --git a/Marlin/src/pins/pins_K8200.h b/Marlin/src/pins/pins_K8200.h index bb1c1cbc0ab..c134585daa7 100644 --- a/Marlin/src/pins/pins_K8200.h +++ b/Marlin/src/pins/pins_K8200.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * K8200 Arduino Mega with RAMPS v1.3 pin assignments diff --git a/Marlin/src/pins/pins_K8400.h b/Marlin/src/pins/pins_K8400.h index e9df7815b88..c3dd647d646 100644 --- a/Marlin/src/pins/pins_K8400.h +++ b/Marlin/src/pins/pins_K8400.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Velleman K8400 (Vertex) diff --git a/Marlin/src/pins/pins_K8800.h b/Marlin/src/pins/pins_K8800.h index 8695bac9e0a..98fcde5bcd2 100644 --- a/Marlin/src/pins/pins_K8800.h +++ b/Marlin/src/pins/pins_K8800.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Velleman K8800 (Vertex) diff --git a/Marlin/src/pins/pins_LEAPFROG.h b/Marlin/src/pins/pins_LEAPFROG.h index 11ad0cf3017..8d4f31a70f9 100644 --- a/Marlin/src/pins/pins_LEAPFROG.h +++ b/Marlin/src/pins/pins_LEAPFROG.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Leapfrog Driver board pin assignments diff --git a/Marlin/src/pins/pins_MAKEBOARD_MINI.h b/Marlin/src/pins/pins_MAKEBOARD_MINI.h index 19e11c056ff..30807d2a189 100644 --- a/Marlin/src/pins/pins_MAKEBOARD_MINI.h +++ b/Marlin/src/pins/pins_MAKEBOARD_MINI.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #include "pins_RAMPS.h" diff --git a/Marlin/src/pins/pins_MALYAN_M200.h b/Marlin/src/pins/pins_MALYAN_M200.h index f812f75a272..63d0b8f9a2f 100644 --- a/Marlin/src/pins/pins_MALYAN_M200.h +++ b/Marlin/src/pins/pins_MALYAN_M200.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MALYAN M200 pin assignments diff --git a/Marlin/src/pins/pins_MEGACONTROLLER.h b/Marlin/src/pins/pins_MEGACONTROLLER.h index 6f71a76d6e1..14fec34ec69 100644 --- a/Marlin/src/pins/pins_MEGACONTROLLER.h +++ b/Marlin/src/pins/pins_MEGACONTROLLER.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Mega controller pin assignments diff --git a/Marlin/src/pins/pins_MEGATRONICS.h b/Marlin/src/pins/pins_MEGATRONICS.h index e585591b57d..44a487cbbc8 100644 --- a/Marlin/src/pins/pins_MEGATRONICS.h +++ b/Marlin/src/pins/pins_MEGATRONICS.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MegaTronics pin assignments diff --git a/Marlin/src/pins/pins_MEGATRONICS_2.h b/Marlin/src/pins/pins_MEGATRONICS_2.h index d4cf8e39f1c..fa154555f7c 100644 --- a/Marlin/src/pins/pins_MEGATRONICS_2.h +++ b/Marlin/src/pins/pins_MEGATRONICS_2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MegaTronics v2.0 pin assignments diff --git a/Marlin/src/pins/pins_MEGATRONICS_3.h b/Marlin/src/pins/pins_MEGATRONICS_3.h index f63a6075a5d..863680637ff 100644 --- a/Marlin/src/pins/pins_MEGATRONICS_3.h +++ b/Marlin/src/pins/pins_MEGATRONICS_3.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MegaTronics v3.0 / v3.1 / v3.2 pin assignments diff --git a/Marlin/src/pins/pins_MELZI.h b/Marlin/src/pins/pins_MELZI.h index eb52319c819..e4dcc427775 100644 --- a/Marlin/src/pins/pins_MELZI.h +++ b/Marlin/src/pins/pins_MELZI.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Melzi pin assignments diff --git a/Marlin/src/pins/pins_MELZI_CREALITY.h b/Marlin/src/pins/pins_MELZI_CREALITY.h index 901efae1829..2d08dbc551b 100644 --- a/Marlin/src/pins/pins_MELZI_CREALITY.h +++ b/Marlin/src/pins/pins_MELZI_CREALITY.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Melzi (Creality) pin assignments diff --git a/Marlin/src/pins/pins_MELZI_MAKR3D.h b/Marlin/src/pins/pins_MELZI_MAKR3D.h index 9a627a152bf..a9124245c35 100644 --- a/Marlin/src/pins/pins_MELZI_MAKR3D.h +++ b/Marlin/src/pins/pins_MELZI_MAKR3D.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Melzi with ATmega1284 (MaKr3d version) pin assignments diff --git a/Marlin/src/pins/pins_MELZI_MALYAN.h b/Marlin/src/pins/pins_MELZI_MALYAN.h index f5c73f7eff5..99671d671df 100644 --- a/Marlin/src/pins/pins_MELZI_MALYAN.h +++ b/Marlin/src/pins/pins_MELZI_MALYAN.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Melzi (Malyan M150) pin assignments diff --git a/Marlin/src/pins/pins_MELZI_TRONXY.h b/Marlin/src/pins/pins_MELZI_TRONXY.h index b1422461d1f..bb8e2e32445 100644 --- a/Marlin/src/pins/pins_MELZI_TRONXY.h +++ b/Marlin/src/pins/pins_MELZI_TRONXY.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Melzi pin assignments diff --git a/Marlin/src/pins/pins_MIGHTYBOARD_REVE.h b/Marlin/src/pins/pins_MIGHTYBOARD_REVE.h index 51d1b7655b4..4cb49352520 100644 --- a/Marlin/src/pins/pins_MIGHTYBOARD_REVE.h +++ b/Marlin/src/pins/pins_MIGHTYBOARD_REVE.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Mightyboard Rev.E pin assignments diff --git a/Marlin/src/pins/pins_MINIRAMBO.h b/Marlin/src/pins/pins_MINIRAMBO.h index 3ad58034626..f81627b655b 100644 --- a/Marlin/src/pins/pins_MINIRAMBO.h +++ b/Marlin/src/pins/pins_MINIRAMBO.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Mini-RAMBo pin assignments diff --git a/Marlin/src/pins/pins_MINITRONICS.h b/Marlin/src/pins/pins_MINITRONICS.h index 26598387168..a76682a896d 100644 --- a/Marlin/src/pins/pins_MINITRONICS.h +++ b/Marlin/src/pins/pins_MINITRONICS.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Minitronics v1.0/1.1 pin assignments diff --git a/Marlin/src/pins/pins_MKS_BASE.h b/Marlin/src/pins/pins_MKS_BASE.h index 9dac6452daa..07519a5696b 100644 --- a/Marlin/src/pins/pins_MKS_BASE.h +++ b/Marlin/src/pins/pins_MKS_BASE.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MKS BASE 1.0 – Arduino Mega2560 with RAMPS v1.4 pin assignments diff --git a/Marlin/src/pins/pins_MKS_BASE_14.h b/Marlin/src/pins/pins_MKS_BASE_14.h index fa440575933..7681f6cd9b9 100644 --- a/Marlin/src/pins/pins_MKS_BASE_14.h +++ b/Marlin/src/pins/pins_MKS_BASE_14.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MKS BASE v1.4 diff --git a/Marlin/src/pins/pins_MKS_BASE_15.h b/Marlin/src/pins/pins_MKS_BASE_15.h index 64da6bb7b00..12629706f36 100644 --- a/Marlin/src/pins/pins_MKS_BASE_15.h +++ b/Marlin/src/pins/pins_MKS_BASE_15.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MKS BASE v1.5 with A4982 stepper drivers and digital micro-stepping diff --git a/Marlin/src/pins/pins_MKS_BASE_HEROIC.h b/Marlin/src/pins/pins_MKS_BASE_HEROIC.h index d2b65c25549..55448d4c0bf 100644 --- a/Marlin/src/pins/pins_MKS_BASE_HEROIC.h +++ b/Marlin/src/pins/pins_MKS_BASE_HEROIC.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MKS BASE with Heroic HR4982 stepper drivers diff --git a/Marlin/src/pins/pins_MKS_GEN_13.h b/Marlin/src/pins/pins_MKS_GEN_13.h index 2040489119a..3d777d83835 100644 --- a/Marlin/src/pins/pins_MKS_GEN_13.h +++ b/Marlin/src/pins/pins_MKS_GEN_13.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Mega with RAMPS v1.4 adjusted pin assignments diff --git a/Marlin/src/pins/pins_MKS_GEN_L.h b/Marlin/src/pins/pins_MKS_GEN_L.h index a76e2a4a83f..7b6ea178c7d 100644 --- a/Marlin/src/pins/pins_MKS_GEN_L.h +++ b/Marlin/src/pins/pins_MKS_GEN_L.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MKS GEN L – Arduino Mega2560 with RAMPS v1.4 pin assignments diff --git a/Marlin/src/pins/pins_MKS_ROBIN.h b/Marlin/src/pins/pins_MKS_ROBIN.h index 14f12330d51..6dac3f65c47 100644 --- a/Marlin/src/pins/pins_MKS_ROBIN.h +++ b/Marlin/src/pins/pins_MKS_ROBIN.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MKS Robin (STM32F130ZET6) board pin assignments diff --git a/Marlin/src/pins/pins_MKS_ROBIN_MINI.h b/Marlin/src/pins/pins_MKS_ROBIN_MINI.h index ebc062c89cd..b488955b89b 100755 --- a/Marlin/src/pins/pins_MKS_ROBIN_MINI.h +++ b/Marlin/src/pins/pins_MKS_ROBIN_MINI.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MKS Robin MINI (STM32F130VET6) board pin assignments diff --git a/Marlin/src/pins/pins_MKS_ROBIN_NANO.h b/Marlin/src/pins/pins_MKS_ROBIN_NANO.h index 3acb7f35e5b..d57ac334065 100755 --- a/Marlin/src/pins/pins_MKS_ROBIN_NANO.h +++ b/Marlin/src/pins/pins_MKS_ROBIN_NANO.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MKS Robin nano (STM32F130VET6) board pin assignments diff --git a/Marlin/src/pins/pins_MKS_SBASE.h b/Marlin/src/pins/pins_MKS_SBASE.h index 1673a1cf8c8..2d37f7274e4 100644 --- a/Marlin/src/pins/pins_MKS_SBASE.h +++ b/Marlin/src/pins/pins_MKS_SBASE.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MKS SBASE pin assignments diff --git a/Marlin/src/pins/pins_MKS_SGEN.h b/Marlin/src/pins/pins_MKS_SGEN.h index b28901a57b9..921ec60c366 100644 --- a/Marlin/src/pins/pins_MKS_SGEN.h +++ b/Marlin/src/pins/pins_MKS_SGEN.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MKS SGen pin assignments diff --git a/Marlin/src/pins/pins_MKS_SGEN_L.h b/Marlin/src/pins/pins_MKS_SGEN_L.h index 343bd849217..d0ff839a07b 100644 --- a/Marlin/src/pins/pins_MKS_SGEN_L.h +++ b/Marlin/src/pins/pins_MKS_SGEN_L.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * MKS SGEN-L pin assignments diff --git a/Marlin/src/pins/pins_MORPHEUS.h b/Marlin/src/pins/pins_MORPHEUS.h index 295b6a14fe7..fe9c9dce3b9 100644 --- a/Marlin/src/pins/pins_MORPHEUS.h +++ b/Marlin/src/pins/pins_MORPHEUS.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * 2017 Victor Perez Marlin for stm32f1 test diff --git a/Marlin/src/pins/pins_OMCA.h b/Marlin/src/pins/pins_OMCA.h index be4f8dfb7f6..b4b23b79062 100644 --- a/Marlin/src/pins/pins_OMCA.h +++ b/Marlin/src/pins/pins_OMCA.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Open Motion controller with enable based extruders (Final!) diff --git a/Marlin/src/pins/pins_OMCA_A.h b/Marlin/src/pins/pins_OMCA_A.h index 9c1579d2d6e..63eb362620f 100644 --- a/Marlin/src/pins/pins_OMCA_A.h +++ b/Marlin/src/pins/pins_OMCA_A.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Open Motion controller with enable based extruders (Alpha!) diff --git a/Marlin/src/pins/pins_PRINTRBOARD.h b/Marlin/src/pins/pins_PRINTRBOARD.h index ce27b3eec4e..eef617fe8c1 100644 --- a/Marlin/src/pins/pins_PRINTRBOARD.h +++ b/Marlin/src/pins/pins_PRINTRBOARD.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Rev B 2 JUN 2017 diff --git a/Marlin/src/pins/pins_PRINTRBOARD_G2.h b/Marlin/src/pins/pins_PRINTRBOARD_G2.h index 1ad4164b64f..b23c1af084c 100644 --- a/Marlin/src/pins/pins_PRINTRBOARD_G2.h +++ b/Marlin/src/pins/pins_PRINTRBOARD_G2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * PRINTRBOARD_G2 diff --git a/Marlin/src/pins/pins_PRINTRBOARD_REVF.h b/Marlin/src/pins/pins_PRINTRBOARD_REVF.h index a3dde23c0fe..096283e4c43 100644 --- a/Marlin/src/pins/pins_PRINTRBOARD_REVF.h +++ b/Marlin/src/pins/pins_PRINTRBOARD_REVF.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Rev B 2 JUN 2017 diff --git a/Marlin/src/pins/pins_RADDS.h b/Marlin/src/pins/pins_RADDS.h index 4b2cda6120e..66b06c2c43b 100644 --- a/Marlin/src/pins/pins_RADDS.h +++ b/Marlin/src/pins/pins_RADDS.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * RADDS diff --git a/Marlin/src/pins/pins_RAMBO.h b/Marlin/src/pins/pins_RAMBO.h index 401fcb34509..1eb29a66a45 100644 --- a/Marlin/src/pins/pins_RAMBO.h +++ b/Marlin/src/pins/pins_RAMBO.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * IMPORTANT NOTE: diff --git a/Marlin/src/pins/pins_RAMPS.h b/Marlin/src/pins/pins_RAMPS.h index 74aa0af450c..3093a803cae 100644 --- a/Marlin/src/pins/pins_RAMPS.h +++ b/Marlin/src/pins/pins_RAMPS.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Mega with RAMPS v1.4 (or v1.3) pin assignments diff --git a/Marlin/src/pins/pins_RAMPS4DUE.h b/Marlin/src/pins/pins_RAMPS4DUE.h index 4406d4d596e..a4ed62bb074 100644 --- a/Marlin/src/pins/pins_RAMPS4DUE.h +++ b/Marlin/src/pins/pins_RAMPS4DUE.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Mega or Due with RAMPS4DUE pin assignments diff --git a/Marlin/src/pins/pins_RAMPS_13.h b/Marlin/src/pins/pins_RAMPS_13.h index 952fbbf5a9e..70bfd51d547 100644 --- a/Marlin/src/pins/pins_RAMPS_13.h +++ b/Marlin/src/pins/pins_RAMPS_13.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Mega with RAMPS v1.3 pin assignments diff --git a/Marlin/src/pins/pins_RAMPS_CREALITY.h b/Marlin/src/pins/pins_RAMPS_CREALITY.h index e0d71d380fa..2e5471a5bb7 100644 --- a/Marlin/src/pins/pins_RAMPS_CREALITY.h +++ b/Marlin/src/pins/pins_RAMPS_CREALITY.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #if HOTENDS > 2 || E_STEPPERS > 2 #error "Creality3D RAMPS supports only 2 hotends / E-steppers. Comment out this line to continue." diff --git a/Marlin/src/pins/pins_RAMPS_DAGOMA.h b/Marlin/src/pins/pins_RAMPS_DAGOMA.h index b36a3b499c8..cacdb83819e 100644 --- a/Marlin/src/pins/pins_RAMPS_DAGOMA.h +++ b/Marlin/src/pins/pins_RAMPS_DAGOMA.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #if HOTENDS > 2 || E_STEPPERS > 2 #error "Dagoma3D F5 RAMPS supports only 2 hotends / E-steppers. Comment out this line to continue." diff --git a/Marlin/src/pins/pins_RAMPS_DUO.h b/Marlin/src/pins/pins_RAMPS_DUO.h index 6e516074252..95a4daa5bcd 100644 --- a/Marlin/src/pins/pins_RAMPS_DUO.h +++ b/Marlin/src/pins/pins_RAMPS_DUO.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Mega or Due with RAMPS Duo pin assignments diff --git a/Marlin/src/pins/pins_RAMPS_ENDER_4.h b/Marlin/src/pins/pins_RAMPS_ENDER_4.h index 2d7859ab31a..3a452f9862a 100755 --- a/Marlin/src/pins/pins_RAMPS_ENDER_4.h +++ b/Marlin/src/pins/pins_RAMPS_ENDER_4.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #if HOTENDS > 1 || E_STEPPERS > 1 #error "Ender-4 supports only 1 hotend / E-stepper. Comment out this line to continue." diff --git a/Marlin/src/pins/pins_RAMPS_FD_V1.h b/Marlin/src/pins/pins_RAMPS_FD_V1.h index 6403582180f..684489403a4 100644 --- a/Marlin/src/pins/pins_RAMPS_FD_V1.h +++ b/Marlin/src/pins/pins_RAMPS_FD_V1.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * RAMPS-FD diff --git a/Marlin/src/pins/pins_RAMPS_FD_V2.h b/Marlin/src/pins/pins_RAMPS_FD_V2.h index 5869d986833..d4f25af16de 100644 --- a/Marlin/src/pins/pins_RAMPS_FD_V2.h +++ b/Marlin/src/pins/pins_RAMPS_FD_V2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * RAMPS-FD v2 diff --git a/Marlin/src/pins/pins_RAMPS_LINUX.h b/Marlin/src/pins/pins_RAMPS_LINUX.h index 731247d27ec..614890dda11 100644 --- a/Marlin/src/pins/pins_RAMPS_LINUX.h +++ b/Marlin/src/pins/pins_RAMPS_LINUX.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Mega with RAMPS v1.4 (or v1.3) pin assignments diff --git a/Marlin/src/pins/pins_RAMPS_OLD.h b/Marlin/src/pins/pins_RAMPS_OLD.h index 0a56064da95..f0deec3b04a 100644 --- a/Marlin/src/pins/pins_RAMPS_OLD.h +++ b/Marlin/src/pins/pins_RAMPS_OLD.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Mega with RAMPS v1.0, v1.1, v1.2 pin assignments diff --git a/Marlin/src/pins/pins_RAMPS_PLUS.h b/Marlin/src/pins/pins_RAMPS_PLUS.h index fb21741999c..77b5ee6f5cf 100644 --- a/Marlin/src/pins/pins_RAMPS_PLUS.h +++ b/Marlin/src/pins/pins_RAMPS_PLUS.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Mega with RAMPS v1.4Plus, also known as 3DYMY version, pin assignments diff --git a/Marlin/src/pins/pins_RAMPS_RE_ARM.h b/Marlin/src/pins/pins_RAMPS_RE_ARM.h index c94887fde95..b6da047e44e 100644 --- a/Marlin/src/pins/pins_RAMPS_RE_ARM.h +++ b/Marlin/src/pins/pins_RAMPS_RE_ARM.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Re-ARM with RAMPS v1.4 pin assignments diff --git a/Marlin/src/pins/pins_RAMPS_SMART.h b/Marlin/src/pins/pins_RAMPS_SMART.h index dc9f949270a..cd65aef627a 100644 --- a/Marlin/src/pins/pins_RAMPS_SMART.h +++ b/Marlin/src/pins/pins_RAMPS_SMART.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Due with RAMPS-SMART pin assignments diff --git a/Marlin/src/pins/pins_REMRAM_V1.h b/Marlin/src/pins/pins_REMRAM_V1.h index a2ce93f1107..409d47b2c20 100644 --- a/Marlin/src/pins/pins_REMRAM_V1.h +++ b/Marlin/src/pins/pins_REMRAM_V1.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #ifndef STM32F7xx #error "Oops! Select an STM32F7 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_RIGIDBOARD.h b/Marlin/src/pins/pins_RIGIDBOARD.h index a89d84cedbd..4b472b652d7 100644 --- a/Marlin/src/pins/pins_RIGIDBOARD.h +++ b/Marlin/src/pins/pins_RIGIDBOARD.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * RIGIDBOARD Arduino Mega with RAMPS v1.4 pin assignments diff --git a/Marlin/src/pins/pins_RIGIDBOARD_V2.h b/Marlin/src/pins/pins_RIGIDBOARD_V2.h index f504846bb90..419726883e0 100644 --- a/Marlin/src/pins/pins_RIGIDBOARD_V2.h +++ b/Marlin/src/pins/pins_RIGIDBOARD_V2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * RIGIDBOARD V2 Arduino Mega with RAMPS v1.4 pin assignments diff --git a/Marlin/src/pins/pins_RL200.h b/Marlin/src/pins/pins_RL200.h index 62df0e4ac36..af03ee8c4a0 100644 --- a/Marlin/src/pins/pins_RL200.h +++ b/Marlin/src/pins/pins_RL200.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Rapide Lite 200 v1 (RUMBA clone) pin assignments. Has slightly different assignment for diff --git a/Marlin/src/pins/pins_RUMBA.h b/Marlin/src/pins/pins_RUMBA.h index 05d9955296d..db3dff3c743 100644 --- a/Marlin/src/pins/pins_RUMBA.h +++ b/Marlin/src/pins/pins_RUMBA.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * RUMBA pin assignments diff --git a/Marlin/src/pins/pins_RUMBA32.h b/Marlin/src/pins/pins_RUMBA32.h index c8c3dd41d10..f3fb0a3d4a5 100644 --- a/Marlin/src/pins/pins_RUMBA32.h +++ b/Marlin/src/pins/pins_RUMBA32.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #ifndef STM32F4 #error "Oops! Select an STM32F4 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_RUMBA_RAISE3D.h b/Marlin/src/pins/pins_RUMBA_RAISE3D.h index 43336e27556..8d5297c1b89 100644 --- a/Marlin/src/pins/pins_RUMBA_RAISE3D.h +++ b/Marlin/src/pins/pins_RUMBA_RAISE3D.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #define DEFAULT_MACHINE_NAME "Raise3D N Series" #define BOARD_NAME "Raise3D Rumba" diff --git a/Marlin/src/pins/pins_SAINSMART_2IN1.h b/Marlin/src/pins/pins_SAINSMART_2IN1.h index c77472fea0a..a3d24017d56 100644 --- a/Marlin/src/pins/pins_SAINSMART_2IN1.h +++ b/Marlin/src/pins/pins_SAINSMART_2IN1.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Sainsmart 2-in-1 pin assignments diff --git a/Marlin/src/pins/pins_SANGUINOLOLU_11.h b/Marlin/src/pins/pins_SANGUINOLOLU_11.h index 2b4e0c5ce60..f94d7a03e98 100644 --- a/Marlin/src/pins/pins_SANGUINOLOLU_11.h +++ b/Marlin/src/pins/pins_SANGUINOLOLU_11.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Sanguinololu board pin assignments diff --git a/Marlin/src/pins/pins_SANGUINOLOLU_12.h b/Marlin/src/pins/pins_SANGUINOLOLU_12.h index 9e7ed254d2e..3ef9e1c95d2 100644 --- a/Marlin/src/pins/pins_SANGUINOLOLU_12.h +++ b/Marlin/src/pins/pins_SANGUINOLOLU_12.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Sanguinololu V1.2 pin assignments diff --git a/Marlin/src/pins/pins_SAV_MKI.h b/Marlin/src/pins/pins_SAV_MKI.h index 81523243b33..82d76303114 100644 --- a/Marlin/src/pins/pins_SAV_MKI.h +++ b/Marlin/src/pins/pins_SAV_MKI.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Rev B 2 JUN 2017 diff --git a/Marlin/src/pins/pins_SCOOVO_X9H.h b/Marlin/src/pins/pins_SCOOVO_X9H.h index 8aa3721c811..c9affcba6a1 100644 --- a/Marlin/src/pins/pins_SCOOVO_X9H.h +++ b/Marlin/src/pins/pins_SCOOVO_X9H.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /************************************************ * Rambo pin assignments MODIFIED FOR Scoovo X9H diff --git a/Marlin/src/pins/pins_SELENA_COMPACT.h b/Marlin/src/pins/pins_SELENA_COMPACT.h index 5f6e53b0fb8..3baa441d9c4 100644 --- a/Marlin/src/pins/pins_SELENA_COMPACT.h +++ b/Marlin/src/pins/pins_SELENA_COMPACT.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Selena Compact pin assignments diff --git a/Marlin/src/pins/pins_SETHI.h b/Marlin/src/pins/pins_SETHI.h index d05625525b2..049526a8f1e 100644 --- a/Marlin/src/pins/pins_SETHI.h +++ b/Marlin/src/pins/pins_SETHI.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Sethi 3D_1 pin assignments - www.sethi3d.com.br diff --git a/Marlin/src/pins/pins_SILVER_GATE.h b/Marlin/src/pins/pins_SILVER_GATE.h index f807b8e4cc9..2d1bb12a970 100644 --- a/Marlin/src/pins/pins_SILVER_GATE.h +++ b/Marlin/src/pins/pins_SILVER_GATE.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #if !defined(__AVR_ATmega1281__) && !defined(__AVR_ATmega2561__) #error "Oops! Select 'Silvergate' in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_SMOOTHIEBOARD.h b/Marlin/src/pins/pins_SMOOTHIEBOARD.h index 753bc81a5da..ace87a8ca4d 100644 --- a/Marlin/src/pins/pins_SMOOTHIEBOARD.h +++ b/Marlin/src/pins/pins_SMOOTHIEBOARD.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Smoothieboard pin assignments diff --git a/Marlin/src/pins/pins_STB_11.h b/Marlin/src/pins/pins_STB_11.h index 0b3e3d39a88..9f14f1b4211 100644 --- a/Marlin/src/pins/pins_STB_11.h +++ b/Marlin/src/pins/pins_STB_11.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * STB V1.1 pin assignments diff --git a/Marlin/src/pins/pins_STEVAL.h b/Marlin/src/pins/pins_STEVAL.h index b4680a874e7..d174b339c9a 100644 --- a/Marlin/src/pins/pins_STEVAL.h +++ b/Marlin/src/pins/pins_STEVAL.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #ifndef STM32F4 #error "Oops! Select an STM32F4 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_STM32F1R.h b/Marlin/src/pins/pins_STM32F1R.h index 682cf8159de..91de11a959d 100644 --- a/Marlin/src/pins/pins_STM32F1R.h +++ b/Marlin/src/pins/pins_STM32F1R.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #ifndef __STM32F1__ #error "Oops! Select an STM32F1 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_STM32F4.h b/Marlin/src/pins/pins_STM32F4.h index c797f3fc27e..7ce1d2d6c5f 100644 --- a/Marlin/src/pins/pins_STM32F4.h +++ b/Marlin/src/pins/pins_STM32F4.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #if !defined(STM32F4) && !defined(STM32F4xx) #error "Oops! Select an STM32F4 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_STM3R_MINI.h b/Marlin/src/pins/pins_STM3R_MINI.h index 354c41ff3c6..acf2dfaf294 100644 --- a/Marlin/src/pins/pins_STM3R_MINI.h +++ b/Marlin/src/pins/pins_STM3R_MINI.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #if !defined(__STM32F1__) && !defined(__STM32F4__) #error "Oops! Select an STM32F1/4 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_TEENSY2.h b/Marlin/src/pins/pins_TEENSY2.h index e2dbf5bdcce..572cb070797 100644 --- a/Marlin/src/pins/pins_TEENSY2.h +++ b/Marlin/src/pins/pins_TEENSY2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Rev B 2 JUN 2017 diff --git a/Marlin/src/pins/pins_TEENSY31_32.h b/Marlin/src/pins/pins_TEENSY31_32.h index 15830672b46..70365257626 100644 --- a/Marlin/src/pins/pins_TEENSY31_32.h +++ b/Marlin/src/pins/pins_TEENSY31_32.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /**************************************************************************************** * Teensy 3.1 (MK20DX256) and Teensy 3.2 (MK20DX256) Breadboard pin assignments diff --git a/Marlin/src/pins/pins_TEENSY35_36.h b/Marlin/src/pins/pins_TEENSY35_36.h index 4a325f7cabe..922eeb9fa4c 100644 --- a/Marlin/src/pins/pins_TEENSY35_36.h +++ b/Marlin/src/pins/pins_TEENSY35_36.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /**************************************************************************************** * Teensy 3.5 (MK64FX512) and Teensy 3.6 (MK66FX1M0) Breadboard pin assignments diff --git a/Marlin/src/pins/pins_TH3D_EZBOARD.h b/Marlin/src/pins/pins_TH3D_EZBOARD.h index f234e1bd218..509fdd3aec3 100755 --- a/Marlin/src/pins/pins_TH3D_EZBOARD.h +++ b/Marlin/src/pins/pins_TH3D_EZBOARD.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * TH3D EZBoard pin assignments diff --git a/Marlin/src/pins/pins_THE_BORG.h b/Marlin/src/pins/pins_THE_BORG.h index 05e3085b7f2..141320f88c7 100644 --- a/Marlin/src/pins/pins_THE_BORG.h +++ b/Marlin/src/pins/pins_THE_BORG.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once #if !defined(STM32F7) #error "Oops! Select an STM32F7 board in 'Tools > Board.'" diff --git a/Marlin/src/pins/pins_TRIGORILLA_13.h b/Marlin/src/pins/pins_TRIGORILLA_13.h index 677ad2f14eb..77e0bdf04c5 100644 --- a/Marlin/src/pins/pins_TRIGORILLA_13.h +++ b/Marlin/src/pins/pins_TRIGORILLA_13.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Mega with RAMPS v1.3 for Anycubic diff --git a/Marlin/src/pins/pins_TRIGORILLA_14.h b/Marlin/src/pins/pins_TRIGORILLA_14.h index 2ac24699cbf..c5c3ac0ac72 100644 --- a/Marlin/src/pins/pins_TRIGORILLA_14.h +++ b/Marlin/src/pins/pins_TRIGORILLA_14.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Mega with RAMPS v1.4 for Anycubic diff --git a/Marlin/src/pins/pins_TRONXY_V3_1_0.h b/Marlin/src/pins/pins_TRONXY_V3_1_0.h index 2dde81259bf..aaf276da787 100644 --- a/Marlin/src/pins/pins_TRONXY_V3_1_0.h +++ b/Marlin/src/pins/pins_TRONXY_V3_1_0.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Arduino Mega for Tronxy X5S-2E, etc. diff --git a/Marlin/src/pins/pins_ULTIMAIN_2.h b/Marlin/src/pins/pins_ULTIMAIN_2.h index 8ea062601df..f61f16c2f42 100644 --- a/Marlin/src/pins/pins_ULTIMAIN_2.h +++ b/Marlin/src/pins/pins_ULTIMAIN_2.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Ultiboard v2.0 pin assignments diff --git a/Marlin/src/pins/pins_ULTIMAKER.h b/Marlin/src/pins/pins_ULTIMAKER.h index 50436e968ab..d895058989f 100644 --- a/Marlin/src/pins/pins_ULTIMAKER.h +++ b/Marlin/src/pins/pins_ULTIMAKER.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Ultimaker pin assignments diff --git a/Marlin/src/pins/pins_ULTIMAKER_OLD.h b/Marlin/src/pins/pins_ULTIMAKER_OLD.h index e5f182f9a51..f0c048f5ab3 100644 --- a/Marlin/src/pins/pins_ULTIMAKER_OLD.h +++ b/Marlin/src/pins/pins_ULTIMAKER_OLD.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Ultimaker pin assignments (Old electronics) diff --git a/Marlin/src/pins/pins_ULTRATRONICS_PRO.h b/Marlin/src/pins/pins_ULTRATRONICS_PRO.h index 56e95ae573e..b77469b0d89 100644 --- a/Marlin/src/pins/pins_ULTRATRONICS_PRO.h +++ b/Marlin/src/pins/pins_ULTRATRONICS_PRO.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * ReprapWorld ULTRATRONICS v1.0 diff --git a/Marlin/src/pins/pins_VORON.h b/Marlin/src/pins/pins_VORON.h index 8d3df681918..13c93e1879a 100644 --- a/Marlin/src/pins/pins_VORON.h +++ b/Marlin/src/pins/pins_VORON.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * VORON Design v2 pin assignments diff --git a/Marlin/src/pins/pins_ZRIB_V20.h b/Marlin/src/pins/pins_ZRIB_V20.h index af6e6cadec7..bf85bfa12d6 100644 --- a/Marlin/src/pins/pins_ZRIB_V20.h +++ b/Marlin/src/pins/pins_ZRIB_V20.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * ZRIB V2.0 & V3.0 pin assignments diff --git a/Marlin/src/pins/pins_Z_BOLT_X_SERIES.h b/Marlin/src/pins/pins_Z_BOLT_X_SERIES.h index 3868bb8bb2c..89f8df4b4d6 100644 --- a/Marlin/src/pins/pins_Z_BOLT_X_SERIES.h +++ b/Marlin/src/pins/pins_Z_BOLT_X_SERIES.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Z-Bolt X Series board – based on Arduino Mega2560 diff --git a/config/examples/Anet/E16/_Statusscreen.h b/config/examples/Anet/E16/_Statusscreen.h index 874e198f5d4..7a1c4e86969 100644 --- a/config/examples/Anet/E16/_Statusscreen.h +++ b/config/examples/Anet/E16/_Statusscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Status Screen bitmap diff --git a/config/examples/AnimationExample/_Bootscreen.h b/config/examples/AnimationExample/_Bootscreen.h index 98e9d1e4308..2c1d31e445c 100644 --- a/config/examples/AnimationExample/_Bootscreen.h +++ b/config/examples/AnimationExample/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Animated boot screen example diff --git a/config/examples/BQ/Hephestos_2/_Bootscreen.h b/config/examples/BQ/Hephestos_2/_Bootscreen.h index 909f494dbfa..8d593ccdead 100644 --- a/config/examples/BQ/Hephestos_2/_Bootscreen.h +++ b/config/examples/BQ/Hephestos_2/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Cartesio/_Bootscreen.h b/config/examples/Cartesio/_Bootscreen.h index bacae621faa..e81968dbf2d 100644 --- a/config/examples/Cartesio/_Bootscreen.h +++ b/config/examples/Cartesio/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Creality/CR-10/_Bootscreen.h b/config/examples/Creality/CR-10/_Bootscreen.h index 04c731790f1..2008f5a3029 100644 --- a/config/examples/Creality/CR-10/_Bootscreen.h +++ b/config/examples/Creality/CR-10/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Creality/CR-10/_Statusscreen.h b/config/examples/Creality/CR-10/_Statusscreen.h index 93662fb8483..88c7d127b55 100644 --- a/config/examples/Creality/CR-10/_Statusscreen.h +++ b/config/examples/Creality/CR-10/_Statusscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Status Screen bitmap diff --git a/config/examples/Creality/CR-10S/_Bootscreen.h b/config/examples/Creality/CR-10S/_Bootscreen.h index 04c731790f1..2008f5a3029 100644 --- a/config/examples/Creality/CR-10S/_Bootscreen.h +++ b/config/examples/Creality/CR-10S/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Creality/CR-10S/_Statusscreen.h b/config/examples/Creality/CR-10S/_Statusscreen.h index cf6b962db66..a26739681b2 100644 --- a/config/examples/Creality/CR-10S/_Statusscreen.h +++ b/config/examples/Creality/CR-10S/_Statusscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Status Screen bitmap diff --git a/config/examples/Creality/CR-10_5S/_Bootscreen.h b/config/examples/Creality/CR-10_5S/_Bootscreen.h index 04c731790f1..2008f5a3029 100644 --- a/config/examples/Creality/CR-10_5S/_Bootscreen.h +++ b/config/examples/Creality/CR-10_5S/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Creality/CR-10mini/_Bootscreen.h b/config/examples/Creality/CR-10mini/_Bootscreen.h index 04c731790f1..2008f5a3029 100644 --- a/config/examples/Creality/CR-10mini/_Bootscreen.h +++ b/config/examples/Creality/CR-10mini/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Creality/CR-10mini/_Statusscreen.h b/config/examples/Creality/CR-10mini/_Statusscreen.h index a95a0c48d9b..a0021032746 100644 --- a/config/examples/Creality/CR-10mini/_Statusscreen.h +++ b/config/examples/Creality/CR-10mini/_Statusscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Status Screen bitmap diff --git a/config/examples/Creality/Ender-2/_Bootscreen.h b/config/examples/Creality/Ender-2/_Bootscreen.h index 52119ce6be3..e1402b2bbe8 100644 --- a/config/examples/Creality/Ender-2/_Bootscreen.h +++ b/config/examples/Creality/Ender-2/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Creality/Ender-2/_Statusscreen.h b/config/examples/Creality/Ender-2/_Statusscreen.h index d792b36a9dd..7a412ad7f44 100644 --- a/config/examples/Creality/Ender-2/_Statusscreen.h +++ b/config/examples/Creality/Ender-2/_Statusscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Status Screen bitmap diff --git a/config/examples/Creality/Ender-3/_Bootscreen.h b/config/examples/Creality/Ender-3/_Bootscreen.h index 52119ce6be3..e1402b2bbe8 100644 --- a/config/examples/Creality/Ender-3/_Bootscreen.h +++ b/config/examples/Creality/Ender-3/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Creality/Ender-3/_Statusscreen.h b/config/examples/Creality/Ender-3/_Statusscreen.h index 4600d4cc7cc..bf3934729a5 100644 --- a/config/examples/Creality/Ender-3/_Statusscreen.h +++ b/config/examples/Creality/Ender-3/_Statusscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Status Screen bitmap diff --git a/config/examples/EVNOVO (Artillery)/Sidewinder X1/_Bootscreen.h b/config/examples/EVNOVO (Artillery)/Sidewinder X1/_Bootscreen.h index b5df343184c..e29d4c77b8f 100755 --- a/config/examples/EVNOVO (Artillery)/Sidewinder X1/_Bootscreen.h +++ b/config/examples/EVNOVO (Artillery)/Sidewinder X1/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Made with Marlin Bitmap Converter diff --git a/config/examples/Formbot/Raptor/_Bootscreen.h b/config/examples/Formbot/Raptor/_Bootscreen.h index 2a7081ac2e5..a7805bb4f4a 100644 --- a/config/examples/Formbot/Raptor/_Bootscreen.h +++ b/config/examples/Formbot/Raptor/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Bitmap for splashscreen diff --git a/config/examples/Formbot/Raptor/_Statusscreen.h b/config/examples/Formbot/Raptor/_Statusscreen.h index 68bd780418b..304d5a0b73c 100644 --- a/config/examples/Formbot/Raptor/_Statusscreen.h +++ b/config/examples/Formbot/Raptor/_Statusscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Status Screen bitmap diff --git a/config/examples/Formbot/T_Rex_2+/_Bootscreen.h b/config/examples/Formbot/T_Rex_2+/_Bootscreen.h index 5fa445a864a..c3195d31fae 100644 --- a/config/examples/Formbot/T_Rex_2+/_Bootscreen.h +++ b/config/examples/Formbot/T_Rex_2+/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Bitmap for splashscreen diff --git a/config/examples/Formbot/T_Rex_2+/_Statusscreen.h b/config/examples/Formbot/T_Rex_2+/_Statusscreen.h index b649dc0ff09..db4487db10a 100644 --- a/config/examples/Formbot/T_Rex_2+/_Statusscreen.h +++ b/config/examples/Formbot/T_Rex_2+/_Statusscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Status Screen bitmap diff --git a/config/examples/Formbot/T_Rex_3/_Bootscreen.h b/config/examples/Formbot/T_Rex_3/_Bootscreen.h index ff155618d6a..d3f9073a0ce 100644 --- a/config/examples/Formbot/T_Rex_3/_Bootscreen.h +++ b/config/examples/Formbot/T_Rex_3/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Bitmap for splashscreen diff --git a/config/examples/Formbot/T_Rex_3/_Statusscreen.h b/config/examples/Formbot/T_Rex_3/_Statusscreen.h index b649dc0ff09..db4487db10a 100644 --- a/config/examples/Formbot/T_Rex_3/_Statusscreen.h +++ b/config/examples/Formbot/T_Rex_3/_Statusscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Status Screen bitmap diff --git a/config/examples/MakerParts/_Bootscreen.h b/config/examples/MakerParts/_Bootscreen.h index c3beec64166..6b668553886 100644 --- a/config/examples/MakerParts/_Bootscreen.h +++ b/config/examples/MakerParts/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Malyan/M150/_Bootscreen.h b/config/examples/Malyan/M150/_Bootscreen.h index 6e931972d79..4c7da4cc242 100644 --- a/config/examples/Malyan/M150/_Bootscreen.h +++ b/config/examples/Malyan/M150/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Tevo/Tarantula Pro/_Bootscreen.h b/config/examples/Tevo/Tarantula Pro/_Bootscreen.h index 9ce60d74745..b5b8dcb1314 100644 --- a/config/examples/Tevo/Tarantula Pro/_Bootscreen.h +++ b/config/examples/Tevo/Tarantula Pro/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Made with Marlin Bitmap Converter diff --git a/config/examples/VORONDesign/_Bootscreen.h b/config/examples/VORONDesign/_Bootscreen.h index b95ed07a82e..84a214b5092 100644 --- a/config/examples/VORONDesign/_Bootscreen.h +++ b/config/examples/VORONDesign/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Made with Marlin Bitmap Converter diff --git a/config/examples/gCreate/gMax1.5+/_Bootscreen.h b/config/examples/gCreate/gMax1.5+/_Bootscreen.h index d53ebfc10e7..19402c494d2 100644 --- a/config/examples/gCreate/gMax1.5+/_Bootscreen.h +++ b/config/examples/gCreate/gMax1.5+/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +#pragma once /** * Custom Boot Screen bitmap