Skip to content

Commit

Permalink
馃┕ Use #pragma once in pins files
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jun 12, 2021
1 parent c221ee1 commit 9bf5cdd
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions Marlin/src/pins/mega/pins_PICA.h
Expand Up @@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once

/**
* Arduino Mega with PICA pin assignments
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/mega/pins_PICAOLD.h
Expand Up @@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once

#define HEATER_0_PIN 9 // E0
#define HEATER_1_PIN 10 // E1
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/ramps/pins_K8600.h
Expand Up @@ -19,6 +19,7 @@
* 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.
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/ramps/pins_TT_OSCAR.h
Expand Up @@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once

#include "env_validate.h"

Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/sam/pins_CNCONTROLS_15D.h
Expand Up @@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once

/**
* CNControls V15 for HMS434 with DUE pin assignments
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/sam/pins_RURAMPS4D_11.h
Expand Up @@ -20,6 +20,7 @@
*
* Ported sys0724 & Vynt
*/
#pragma once

/**
* Arduino Mega? or Due with RuRAMPS4DUE pin assignments
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/sam/pins_RURAMPS4D_13.h
Expand Up @@ -20,6 +20,7 @@
*
* Ported sys0724 & Vynt
*/
#pragma once

/**
* Arduino Mega? or Due with RuRAMPS4DUE pin assignments
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
Expand Up @@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once

/**
* Creality 4.2.x (STM32F103RET6) board pin assignments
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V4210.h
Expand Up @@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once

/**
* CREALITY 4.2.10 (STM32F103) board pin assignments
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V427.h
Expand Up @@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once

/**
* CREALITY v4.2.7 (STM32F103) board pin assignments
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V431.h
Expand Up @@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once

/**
* CREALITY v4.3.1 (STM32F103) board pin assignments
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V452.h
Expand Up @@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once

/**
* Creality v4.5.2 (STM32F103RET6) board pin assignments
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V453.h
Expand Up @@ -19,6 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once

/**
* Creality v4.5.3 (STM32F103RET6) board pin assignments
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V45x.h
Expand Up @@ -19,6 +19,7 @@
* 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
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/teensy2/pins_TEENSYLU.h
Expand Up @@ -18,6 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once

/**
* Rev C 2 JUN 2017
Expand Down

0 comments on commit 9bf5cdd

Please sign in to comment.