Browse Source

🩹 Use `#pragma once` in pins files

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
committed by Scott Lahteine
parent
commit
14ffc66c45
  1. 1
      Marlin/src/pins/mega/pins_PICA.h
  2. 1
      Marlin/src/pins/mega/pins_PICAOLD.h
  3. 1
      Marlin/src/pins/ramps/pins_K8600.h
  4. 1
      Marlin/src/pins/ramps/pins_TT_OSCAR.h
  5. 1
      Marlin/src/pins/sam/pins_CNCONTROLS_15D.h
  6. 1
      Marlin/src/pins/sam/pins_RURAMPS4D_11.h
  7. 1
      Marlin/src/pins/sam/pins_RURAMPS4D_13.h
  8. 1
      Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
  9. 1
      Marlin/src/pins/stm32f1/pins_CREALITY_V4210.h
  10. 1
      Marlin/src/pins/stm32f1/pins_CREALITY_V427.h
  11. 1
      Marlin/src/pins/stm32f1/pins_CREALITY_V431.h
  12. 1
      Marlin/src/pins/stm32f1/pins_CREALITY_V452.h
  13. 1
      Marlin/src/pins/stm32f1/pins_CREALITY_V453.h
  14. 1
      Marlin/src/pins/stm32f1/pins_CREALITY_V45x.h
  15. 1
      Marlin/src/pins/teensy2/pins_TEENSYLU.h

1
Marlin/src/pins/mega/pins_PICA.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
/** /**
* Arduino Mega with PICA pin assignments * Arduino Mega with PICA pin assignments

1
Marlin/src/pins/mega/pins_PICAOLD.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
#define HEATER_0_PIN 9 // E0 #define HEATER_0_PIN 9 // E0
#define HEATER_1_PIN 10 // E1 #define HEATER_1_PIN 10 // E1

1
Marlin/src/pins/ramps/pins_K8600.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
/** /**
* VERTEX NANO Arduino Mega with RAMPS EFB v1.4 pin assignments. * VERTEX NANO Arduino Mega with RAMPS EFB v1.4 pin assignments.

1
Marlin/src/pins/ramps/pins_TT_OSCAR.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
#include "env_validate.h" #include "env_validate.h"

1
Marlin/src/pins/sam/pins_CNCONTROLS_15D.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
/** /**
* CNControls V15 for HMS434 with DUE pin assignments * CNControls V15 for HMS434 with DUE pin assignments

1
Marlin/src/pins/sam/pins_RURAMPS4D_11.h

@ -20,6 +20,7 @@
* *
* Ported sys0724 & Vynt * Ported sys0724 & Vynt
*/ */
#pragma once
/** /**
* Arduino Mega? or Due with RuRAMPS4DUE pin assignments * Arduino Mega? or Due with RuRAMPS4DUE pin assignments

1
Marlin/src/pins/sam/pins_RURAMPS4D_13.h

@ -20,6 +20,7 @@
* *
* Ported sys0724 & Vynt * Ported sys0724 & Vynt
*/ */
#pragma once
/** /**
* Arduino Mega? or Due with RuRAMPS4DUE pin assignments * Arduino Mega? or Due with RuRAMPS4DUE pin assignments

1
Marlin/src/pins/stm32f1/pins_CREALITY_V4.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
/** /**
* Creality 4.2.x (STM32F103RET6) board pin assignments * Creality 4.2.x (STM32F103RET6) board pin assignments

1
Marlin/src/pins/stm32f1/pins_CREALITY_V4210.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
/** /**
* CREALITY 4.2.10 (STM32F103) board pin assignments * CREALITY 4.2.10 (STM32F103) board pin assignments

1
Marlin/src/pins/stm32f1/pins_CREALITY_V427.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
/** /**
* CREALITY v4.2.7 (STM32F103) board pin assignments * CREALITY v4.2.7 (STM32F103) board pin assignments

1
Marlin/src/pins/stm32f1/pins_CREALITY_V431.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
/** /**
* CREALITY v4.3.1 (STM32F103) board pin assignments * CREALITY v4.3.1 (STM32F103) board pin assignments

1
Marlin/src/pins/stm32f1/pins_CREALITY_V452.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
/** /**
* Creality v4.5.2 (STM32F103RET6) board pin assignments * Creality v4.5.2 (STM32F103RET6) board pin assignments

1
Marlin/src/pins/stm32f1/pins_CREALITY_V453.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
/** /**
* Creality v4.5.3 (STM32F103RET6) board pin assignments * Creality v4.5.3 (STM32F103RET6) board pin assignments

1
Marlin/src/pins/stm32f1/pins_CREALITY_V45x.h

@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
/** /**
* Creality v4.5.2 and v4.5.3 (STM32F103RET6) board pin assignments * Creality v4.5.2 and v4.5.3 (STM32F103RET6) board pin assignments

1
Marlin/src/pins/teensy2/pins_TEENSYLU.h

@ -18,6 +18,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
#pragma once
/** /**
* Rev C 2 JUN 2017 * Rev C 2 JUN 2017

Loading…
Cancel
Save