From b6546ea33a0f6eebee520dda516e04d3b68ded55 Mon Sep 17 00:00:00 2001 From: Scott Lahteine 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 a3722b603c..8086648bcf 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 . * */ +#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 c9fcf40a5f..a8d51edfab 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 . * */ +#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 e23ace9f23..66bdbd7aae 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 . * */ +#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 517cfe6a35..9c62a353e7 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 . * */ +#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 5680d26ddc..85f26f4016 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 . * */ +#pragma once diff --git a/Marlin/src/HAL/HAL_LINUX/SanityCheck.h b/Marlin/src/HAL/HAL_LINUX/SanityCheck.h index 36ebf21cd6..776fa2f139 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 . * */ +#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 c5aa9c2fde..8b511032cb 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 . * */ +#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 fb3d5abf55..6223e006df 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 . * */ +#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 2741e67df0..559759ea03 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 . * */ - #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 730df72d6f..cafa53b30e 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 . * */ +#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 606ce67b65..11e05ba0d0 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 . * */ +#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 876f10be3e..1153329d89 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 . * */ +#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 4db8557464..f37773d21c 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 . * */ +#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 63b7b403c7..569706b483 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 . * */ +#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 f406d1d4f1..f356c0da07 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 . * */ +#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 0ce8b83b83..e9eb8fa826 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 . * */ +#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 45b46ebcfb..e292de4efe 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 . * */ +#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 40a8181bf6..e096dc60c8 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 . * */ - #pragma once #include 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 c0c320a6f3..8c9836d130 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 . * */ +#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 9bc6217a06..389d27824e 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 . * */ +#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 71e2eb33dc..1af89e0f33 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 . * */ +#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 2af63de818..7bcd601b58 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 . * */ +#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 74d130d7e6..8a0ab8f9a4 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 . * */ - #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 82a9eee29e..ceb041b457 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 . * */ - #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 823fceeb8d..6a126b683e 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 . * */ +#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 4eace5a072..b6b2d13e98 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 . * */ +#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 e3d917440c..7eb93a7020 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 . * */ +#pragma once // // Serial aliases for debugging. diff --git a/Marlin/src/core/minmax.h b/Marlin/src/core/minmax.h index 3f13767a48..042119a7e1 100644 --- a/Marlin/src/core/minmax.h +++ b/Marlin/src/core/minmax.h @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ +#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 e20eb45470..17b2dfb474 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 . * */ +#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 592e5c410f..0c20be9d8e 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 . * */ - #pragma once #include "../../inc/MarlinConfig.h" diff --git a/Marlin/src/gcode/gcode.h b/Marlin/src/gcode/gcode.h index 1f283c6453..93b91e3eec 100644 --- a/Marlin/src/gcode/gcode.h +++ b/Marlin/src/gcode/gcode.h @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ +#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 e02bbba6f8..c9b112ced8 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 . * */ +#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 af93206060..7f0c175124 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 . * */ +#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 df5f83e5ce..8031db2d73 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 . * */ +#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 ece1bb9457..42f1606763 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 . * */ +#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 90569f1c6f..409b2b3062 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 . * */ +#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 930398923b..12f5ef9a86 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 . * */ +#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 cb59e9af8c..6cffefe510 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 . * */ +#pragma once /************ * ui_api.h * diff --git a/Marlin/src/lcd/thermistornames.h b/Marlin/src/lcd/thermistornames.h index 41d7b61312..61582ca396 100644 --- a/Marlin/src/lcd/thermistornames.h +++ b/Marlin/src/lcd/thermistornames.h @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ +#pragma once /** * thermistornames.h diff --git a/Marlin/src/libs/vector_3.h b/Marlin/src/libs/vector_3.h index 687875d390..0a986374d8 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 . * */ +#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 879bc2d9b5..aa842fb026 100644 --- a/Marlin/src/module/delta.h +++ b/Marlin/src/module/delta.h @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ +#pragma once /** * delta.h - Delta-specific functions diff --git a/Marlin/src/module/motion.h b/Marlin/src/module/motion.h index 552b7ead34..35819187ae 100644 --- a/Marlin/src/module/motion.h +++ b/Marlin/src/module/motion.h @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ +#pragma once /** * motion.h diff --git a/Marlin/src/module/scara.h b/Marlin/src/module/scara.h index 9b1790bd74..44f07026e3 100644 --- a/Marlin/src/module/scara.h +++ b/Marlin/src/module/scara.h @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ +#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 e0e740afd1..f2eb078081 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 . * */ +#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 66e6ae8cdc..0ef9d9d635 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 . * */ +#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 921ce3b82f..ab2b1fb443 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 . * */ +#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 dbe18e80eb..8010d8ebc1 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 . * */ +#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 265c2d562a..f9a9524a15 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 . * */ +#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 d9b6888980..a55a193611 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 . * */ +#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 c76ceb952a..9210bf9131 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 . * */ +#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 fcea0984a6..703ec74159 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 . * */ +#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 832a598834..b020103a38 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 . * */ +#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 bb1305a9ee..aab32c05c0 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 . * */ +#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 4741a77642..46f1be452a 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 . * */ +#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 d2e4461585..4a59e8d818 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 . * */ +#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 b81d106ddd..fc01858f4b 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 . * */ +#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 6323b2c8d0..bccfcb04c1 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 . * */ +#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 1f03a0c86a..46462ba566 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 . * */ +#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 f32364b601..0d3905ac1c 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 . * */ +#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 d73d28964b..6e551641f9 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 . * */ +#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 3a32ed569b..93306d0f81 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 . * */ +#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 3e93d2ca6e..0e2b028e45 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 . * */ +#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 1ec76c74d3..b9a462eab3 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 . * */ +#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 ea9ffd969a..a3e6e69f85 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 . * */ +#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 c457b03c59..78939bfb44 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 . * */ +#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 8bf299282f..3619947117 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 . * */ +#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 951ec5c5d8..c8669c49fc 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 . * */ +#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 a2fd100909..3b8c68b88d 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 . * */ +#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 6bb675ad03..9e86811123 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 . * */ +#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 dbb8db4bbe..609317d492 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 . * */ +#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 b278509e3d..f05f066bea 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 . * */ +#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 f4f17e9658..0198f326ed 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 . * */ +#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 b563484b38..a43e1f0b4b 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 . * */ +#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 2849020db4..8cb9f3aaaa 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 . * */ +#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 d1b8f85c07..44274106b0 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 . * */ +#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 4ea8a0950f..74d0e6e38c 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 . * */ +#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 afad0c2c33..9d5818bc76 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 . * */ +#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 3653d5c8f4..a7e686eef0 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 . * */ +#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 f847ab8bbf..27e26e242a 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 . * */ +#pragma once /** * Rev B 2 JUN 2017 diff --git a/Marlin/src/pins/pins_ADSK.h b/Marlin/src/pins/pins_ADSK.h index 2eb39abafd..e18a14dedc 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 . * */ +#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 c2284aaff5..538f4b4f50 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 . * */ +#pragma once /** * Alligator Board R2 diff --git a/Marlin/src/pins/pins_ANET_10.h b/Marlin/src/pins/pins_ANET_10.h index 8a742217de..b10a7cfa08 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 . * */ +#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 7825ff3e8a..73f78ba1e5 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 . * */ +#pragma once /** * ARCHIM1 pin assignment diff --git a/Marlin/src/pins/pins_ARCHIM2.h b/Marlin/src/pins/pins_ARCHIM2.h index 002b70e079..69ea78715d 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 . * */ +#pragma once /** * ARCHIM2 pin assignment diff --git a/Marlin/src/pins/pins_ARMED.h b/Marlin/src/pins/pins_ARMED.h index 3dbea1be03..396495ea8f 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 . * */ +#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 0f6d0736bd..dddec6b0cd 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 . * */ +#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 6ea73ebf9b..8c10bc8fbf 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 . * */ +#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 863048b331..4686d9e726 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 . * */ +#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 cb2423901a..25282f1eef 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 . * */ +#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 081e0e12f6..11dd45a6a5 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 . * */ +#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 b94f11a056..41936bd6d0 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 . * */ +#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 a62ef6e894..03005ecb4f 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 . * */ +#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 354d6e15cf..7872d66b31 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 . * */ +#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 430b13b425..57efda845a 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 . * */ +#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 3f34a28e22..35544950e1 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 . * */ +#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 8ec4a5bdb5..c6e64f1654 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 . * */ +#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 2df0c207b8..a05ebd99f0 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 . * */ +#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 cb094cb408..8095d86ab3 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 . * */ +#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 0be628d843..2c370efdf7 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 . * */ +#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 2b00a0a053..4dbd0e6c12 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 . * */ +#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 bec870384c..026648589e 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 . * */ +#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 6012cb2f09..9290e6c3b1 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 . * */ +#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 ef4d1c2a46..c254aa89f9 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 . * */ +#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 7c9294a0ce..920d02f15d 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 . * */ +#pragma once /** * Brainwave Pro pin assignments (AT90USB1286) diff --git a/Marlin/src/pins/pins_CHEAPTRONIC.h b/Marlin/src/pins/pins_CHEAPTRONIC.h index 6faa7d2f31..36cfb31435 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 . * */ +#pragma once /** * Cheaptronic v1.0 pin assignments diff --git a/Marlin/src/pins/pins_CHEAPTRONICv2.h b/Marlin/src/pins/pins_CHEAPTRONICv2.h index 8d6351e4df..111d76cd20 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 . * */ +#pragma once /** * Cheaptronic v2.0 pin assignments diff --git a/Marlin/src/pins/pins_CHITU3D.h b/Marlin/src/pins/pins_CHITU3D.h index 441c7a4f8d..59f6b66bb7 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 . * */ +#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 1dabf5b526..29ad150b28 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 . * */ +#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 f2271eb4ae..5adec936ae 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 . * */ +#pragma once /** * Cohesion3D ReMix pin assignments diff --git a/Marlin/src/pins/pins_DUE3DOM.h b/Marlin/src/pins/pins_DUE3DOM.h index 3665f8509d..2eb79c9dce 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 . * */ +#pragma once /** * DUE3DOM pin assignments diff --git a/Marlin/src/pins/pins_DUE3DOM_MINI.h b/Marlin/src/pins/pins_DUE3DOM_MINI.h index 4a002db816..3783b7612d 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 . * */ +#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 cf9ad259da..94585715e2 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 . * */ +#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 61c269d9ff..4493602e25 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 . * */ +#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 668eb95048..c40bc079cb 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 . * */ +#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 42b330c9d7..2206191474 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 . * */ +#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 184734ab41..ae87e8ce7b 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 . * */ +#pragma once /** * Elefu RA Board Pin Assignments diff --git a/Marlin/src/pins/pins_ESP32.h b/Marlin/src/pins/pins_ESP32.h index a4c6bf9237..35e8e1ee07 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 . * */ +#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 d8ec91a6d8..ec02cc22ce 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 . * */ +#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 c624a8a5d4..762feaa6d4 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 . * */ +#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 08281e7e54..e89167e987 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 . * */ +#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 578147485b..f3b12ee1bc 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 . * */ +#pragma once /** * Formbot pin assignments diff --git a/Marlin/src/pins/pins_FORMBOT_TREX3.h b/Marlin/src/pins/pins_FORMBOT_TREX3.h index 5beb0db7a3..4ca2556d80 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 . * */ +#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 4e85b0fcaa..49879ba50d 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 . * */ +#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 65459375d6..c3be9431a2 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 . * */ +#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 ba1eb1d048..e41cca85cd 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 . * */ +#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 5c71802ab3..e48b340e1f 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 . * */ +#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 b7b3f519c8..9b5f42caa6 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 . * */ +#pragma once /** * Gen3+ pin assignments diff --git a/Marlin/src/pins/pins_GEN6.h b/Marlin/src/pins/pins_GEN6.h index aab92086a5..42abd00137 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 . * */ +#pragma once /** * Gen6 pin assignments diff --git a/Marlin/src/pins/pins_GEN6_DELUXE.h b/Marlin/src/pins/pins_GEN6_DELUXE.h index e419a431b0..359f4e64ac 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 . * */ +#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 22996a748b..2b9411feb3 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 . * */ +#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 fa9af7eb0f..d380255243 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 . * */ +#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 73ebb08a30..6228db7ac4 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 . * */ +#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 cca6060b07..04689b2ca8 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 . * */ +#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 d609163fc0..ba4f4830ac 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 . * */ +#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 4c9abef60f..8becf9bcfe 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 . * */ +#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 b5688a2d67..4f0667d0b7 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 . * */ +#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 8925d1701f..5565ac62cd 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 . * */ +#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 7f1eb2e0e3..7abee9cd60 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 . * */ +#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 e533047181..87b32bf38a 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 . * */ +#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 28a78c3661..4802bb1c0f 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 . * */ +#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 bb1c1cbc0a..c134585daa 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 . * */ +#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 e9df7815b8..c3dd647d64 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 . * */ +#pragma once /** * Velleman K8400 (Vertex) diff --git a/Marlin/src/pins/pins_K8800.h b/Marlin/src/pins/pins_K8800.h index 8695bac9e0..98fcde5bcd 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 . * */ +#pragma once /** * Velleman K8800 (Vertex) diff --git a/Marlin/src/pins/pins_LEAPFROG.h b/Marlin/src/pins/pins_LEAPFROG.h index 11ad0cf301..8d4f31a70f 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 . * */ +#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 19e11c056f..30807d2a18 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 . * */ +#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 f812f75a27..63d0b8f9a2 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 . * */ +#pragma once /** * MALYAN M200 pin assignments diff --git a/Marlin/src/pins/pins_MEGACONTROLLER.h b/Marlin/src/pins/pins_MEGACONTROLLER.h index 6f71a76d6e..14fec34ec6 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 . * */ +#pragma once /** * Mega controller pin assignments diff --git a/Marlin/src/pins/pins_MEGATRONICS.h b/Marlin/src/pins/pins_MEGATRONICS.h index e585591b57..44a487cbbc 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 . * */ +#pragma once /** * MegaTronics pin assignments diff --git a/Marlin/src/pins/pins_MEGATRONICS_2.h b/Marlin/src/pins/pins_MEGATRONICS_2.h index d4cf8e39f1..fa154555f7 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 . * */ +#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 f63a6075a5..863680637f 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 . * */ +#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 eb52319c81..e4dcc42777 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 . * */ +#pragma once /** * Melzi pin assignments diff --git a/Marlin/src/pins/pins_MELZI_CREALITY.h b/Marlin/src/pins/pins_MELZI_CREALITY.h index 901efae182..2d08dbc551 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 . * */ +#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 9a627a152b..a9124245c3 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 . * */ +#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 f5c73f7eff..99671d671d 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 . * */ +#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 b1422461d1..bb8e2e3244 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 . * */ +#pragma once /** * Melzi pin assignments diff --git a/Marlin/src/pins/pins_MIGHTYBOARD_REVE.h b/Marlin/src/pins/pins_MIGHTYBOARD_REVE.h index 51d1b7655b..4cb4935252 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 . * */ +#pragma once /** * Mightyboard Rev.E pin assignments diff --git a/Marlin/src/pins/pins_MINIRAMBO.h b/Marlin/src/pins/pins_MINIRAMBO.h index 3ad5803462..f81627b655 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 . * */ +#pragma once /** * Mini-RAMBo pin assignments diff --git a/Marlin/src/pins/pins_MINITRONICS.h b/Marlin/src/pins/pins_MINITRONICS.h index 2659838716..a76682a896 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 . * */ +#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 9dac6452da..07519a5696 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 . * */ +#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 fa44057593..7681f6cd9b 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 . * */ +#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 64da6bb7b0..12629706f3 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 . * */ +#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 d2b65c2554..55448d4c0b 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 . * */ +#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 2040489119..3d777d8383 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 . * */ +#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 a76e2a4a83..7b6ea178c7 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 . * */ +#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 14f12330d5..6dac3f65c4 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 . * */ +#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 ebc062c89c..b488955b89 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 . * */ +#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 3acb7f35e5..d57ac33406 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 . * */ +#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 1673a1cf8c..2d37f7274e 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 . * */ +#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 b28901a57b..921ec60c36 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 . * */ +#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 343bd84921..d0ff839a07 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 . * */ +#pragma once /** * MKS SGEN-L pin assignments diff --git a/Marlin/src/pins/pins_MORPHEUS.h b/Marlin/src/pins/pins_MORPHEUS.h index 295b6a14fe..fe9c9dce3b 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 . * */ +#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 be4f8dfb7f..b4b23b7906 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 . * */ +#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 9c1579d2d6..63eb362620 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 . * */ +#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 ce27b3eec4..eef617fe8c 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 . * */ +#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 1ad4164b64..b23c1af084 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 . * */ +#pragma once /** * PRINTRBOARD_G2 diff --git a/Marlin/src/pins/pins_PRINTRBOARD_REVF.h b/Marlin/src/pins/pins_PRINTRBOARD_REVF.h index a3dde23c0f..096283e4c4 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 . * */ +#pragma once /** * Rev B 2 JUN 2017 diff --git a/Marlin/src/pins/pins_RADDS.h b/Marlin/src/pins/pins_RADDS.h index 4b2cda6120..66b06c2c43 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 . * */ +#pragma once /** * RADDS diff --git a/Marlin/src/pins/pins_RAMBO.h b/Marlin/src/pins/pins_RAMBO.h index 401fcb3450..1eb29a66a4 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 . * */ +#pragma once /** * IMPORTANT NOTE: diff --git a/Marlin/src/pins/pins_RAMPS.h b/Marlin/src/pins/pins_RAMPS.h index 74aa0af450..3093a803ca 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 . * */ +#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 4406d4d596..a4ed62bb07 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 . * */ +#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 952fbbf5a9..70bfd51d54 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 . * */ +#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 e0d71d380f..2e5471a5bb 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 . * */ +#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 b36a3b499c..cacdb83819 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 . * */ +#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 6e51607425..95a4daa5bc 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 . * */ +#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 2d7859ab31..3a452f9862 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 . * */ +#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 6403582180..684489403a 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 . * */ +#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 5869d98683..d4f25af16d 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 . * */ +#pragma once /** * RAMPS-FD v2 diff --git a/Marlin/src/pins/pins_RAMPS_LINUX.h b/Marlin/src/pins/pins_RAMPS_LINUX.h index 731247d27e..614890dda1 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 . * */ +#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 0a56064da9..f0deec3b04 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 . * */ +#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 fb21741999..77b5ee6f5c 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 . * */ +#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 c94887fde9..b6da047e44 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 . * */ +#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 dc9f949270..cd65aef627 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 . * */ +#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 a2ce93f110..409d47b2c2 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 . * */ +#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 a89d84cedb..4b472b652d 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 . * */ +#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 f504846bb9..419726883e 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 . * */ +#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 62df0e4ac3..af03ee8c4a 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 . * */ +#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 05d9955296..db3dff3c74 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 . * */ +#pragma once /** * RUMBA pin assignments diff --git a/Marlin/src/pins/pins_RUMBA32.h b/Marlin/src/pins/pins_RUMBA32.h index c8c3dd41d1..f3fb0a3d4a 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 . * */ +#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 43336e2755..8d5297c1b8 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 . * */ +#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 c77472fea0..a3d24017d5 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 . * */ +#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 2b4e0c5ce6..f94d7a03e9 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 . * */ +#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 9e7ed254d2..3ef9e1c95d 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 . * */ +#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 81523243b3..82d7630311 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 . * */ +#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 8aa3721c81..c9affcba6a 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 . * */ +#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 5f6e53b0fb..3baa441d9c 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 . * */ +#pragma once /** * Selena Compact pin assignments diff --git a/Marlin/src/pins/pins_SETHI.h b/Marlin/src/pins/pins_SETHI.h index d05625525b..049526a8f1 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 . * */ +#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 f807b8e4cc..2d1bb12a97 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 . * */ +#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 753bc81a5d..ace87a8ca4 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 . * */ +#pragma once /** * Smoothieboard pin assignments diff --git a/Marlin/src/pins/pins_STB_11.h b/Marlin/src/pins/pins_STB_11.h index 0b3e3d39a8..9f14f1b421 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 . * */ +#pragma once /** * STB V1.1 pin assignments diff --git a/Marlin/src/pins/pins_STEVAL.h b/Marlin/src/pins/pins_STEVAL.h index b4680a874e..d174b339c9 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 . * */ +#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 682cf8159d..91de11a959 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 . * */ +#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 c797f3fc27..7ce1d2d6c5 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 . * */ +#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 354c41ff3c..acf2dfaf29 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 . * */ +#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 e2dbf5bdcc..572cb07079 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 . * */ +#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 15830672b4..7036525762 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 . * */ +#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 4a325f7cab..922eeb9fa4 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 . * */ +#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 f234e1bd21..509fdd3aec 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 . * */ +#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 05e3085b7f..141320f88c 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 . * */ +#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 677ad2f14e..77e0bdf04c 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 . * */ +#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 2ac24699cb..c5c3ac0ac7 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 . * */ +#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 2dde81259b..aaf276da78 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 . * */ +#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 8ea062601d..f61f16c2f4 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 . * */ +#pragma once /** * Ultiboard v2.0 pin assignments diff --git a/Marlin/src/pins/pins_ULTIMAKER.h b/Marlin/src/pins/pins_ULTIMAKER.h index 50436e968a..d895058989 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 . * */ +#pragma once /** * Ultimaker pin assignments diff --git a/Marlin/src/pins/pins_ULTIMAKER_OLD.h b/Marlin/src/pins/pins_ULTIMAKER_OLD.h index e5f182f9a5..f0c048f5ab 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 . * */ +#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 56e95ae573..b77469b0d8 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 . * */ +#pragma once /** * ReprapWorld ULTRATRONICS v1.0 diff --git a/Marlin/src/pins/pins_VORON.h b/Marlin/src/pins/pins_VORON.h index 8d3df68191..13c93e1879 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 . * */ +#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 af6e6cadec..bf85bfa12d 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 . * */ +#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 3868bb8bb2..89f8df4b4d 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 . * */ +#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 874e198f5d..7a1c4e8696 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 . * */ +#pragma once /** * Custom Status Screen bitmap diff --git a/config/examples/AnimationExample/_Bootscreen.h b/config/examples/AnimationExample/_Bootscreen.h index 98e9d1e430..2c1d31e445 100644 --- a/config/examples/AnimationExample/_Bootscreen.h +++ b/config/examples/AnimationExample/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ +#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 909f494dbf..8d593ccdea 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 . * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Cartesio/_Bootscreen.h b/config/examples/Cartesio/_Bootscreen.h index bacae621fa..e81968dbf2 100644 --- a/config/examples/Cartesio/_Bootscreen.h +++ b/config/examples/Cartesio/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ +#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 04c731790f..2008f5a302 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 . * */ +#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 93662fb848..88c7d127b5 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 . * */ +#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 04c731790f..2008f5a302 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 . * */ +#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 cf6b962db6..a26739681b 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 . * */ +#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 04c731790f..2008f5a302 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 . * */ +#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 04c731790f..2008f5a302 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 . * */ +#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 a95a0c48d9..a002103274 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 . * */ +#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 52119ce6be..e1402b2bbe 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 . * */ +#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 d792b36a9d..7a412ad7f4 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 . * */ +#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 52119ce6be..e1402b2bbe 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 . * */ +#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 4600d4cc7c..bf3934729a 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 . * */ +#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 b5df343184..e29d4c77b8 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 . * */ +#pragma once /** * Made with Marlin Bitmap Converter diff --git a/config/examples/Formbot/Raptor/_Bootscreen.h b/config/examples/Formbot/Raptor/_Bootscreen.h index 2a7081ac2e..a7805bb4f4 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 . * */ +#pragma once /** * Custom Bitmap for splashscreen diff --git a/config/examples/Formbot/Raptor/_Statusscreen.h b/config/examples/Formbot/Raptor/_Statusscreen.h index 68bd780418..304d5a0b73 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 . * */ +#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 5fa445a864..c3195d31fa 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 . * */ +#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 b649dc0ff0..db4487db10 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 . * */ +#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 ff155618d6..d3f9073a0c 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 . * */ +#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 b649dc0ff0..db4487db10 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 . * */ +#pragma once /** * Custom Status Screen bitmap diff --git a/config/examples/MakerParts/_Bootscreen.h b/config/examples/MakerParts/_Bootscreen.h index c3beec6416..6b66855388 100644 --- a/config/examples/MakerParts/_Bootscreen.h +++ b/config/examples/MakerParts/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ +#pragma once /** * Custom Boot Screen bitmap diff --git a/config/examples/Malyan/M150/_Bootscreen.h b/config/examples/Malyan/M150/_Bootscreen.h index 6e931972d7..4c7da4cc24 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 . * */ +#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 9ce60d7474..b5b8dcb131 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 . * */ +#pragma once /** * Made with Marlin Bitmap Converter diff --git a/config/examples/VORONDesign/_Bootscreen.h b/config/examples/VORONDesign/_Bootscreen.h index b95ed07a82..84a214b509 100644 --- a/config/examples/VORONDesign/_Bootscreen.h +++ b/config/examples/VORONDesign/_Bootscreen.h @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ +#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 d53ebfc10e..19402c494d 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 . * */ +#pragma once /** * Custom Boot Screen bitmap