Browse Source

Remove extra pragmas

Scott Lahteine 4 years ago
parent
commit
c2b319360d

+ 0
- 2
Marlin/src/HAL/HAL_TEENSY31_32/HAL_timers_Teensy.h View File

@@ -26,8 +26,6 @@
26 26
  * Teensy3.2 (__MK20DX256__)
27 27
  */
28 28
 
29
-#pragma once
30
-
31 29
 #include <stdint.h>
32 30
 
33 31
 // ------------------------

+ 0
- 2
Marlin/src/HAL/HAL_TEENSY31_32/endstop_interrupts.h View File

@@ -35,8 +35,6 @@
35 35
  * (Located in Marlin/buildroot/share/pin_interrupt_test/pin_interrupt_test.ino)
36 36
  */
37 37
 
38
-#pragma once
39
-
40 38
 #include "../../module/endstops.h"
41 39
 
42 40
 // One ISR for all EXT-Interrupts

+ 0
- 2
Marlin/src/HAL/HAL_TEENSY31_32/fastio_Teensy.h View File

@@ -27,8 +27,6 @@
27 27
  * Contributed by Triffid_Hunter and modified by Kliment, thinkyhead, Bob-the-Kuhn, et.al.
28 28
  */
29 29
 
30
-#pragma once
31
-
32 30
 #ifndef MASK
33 31
   #define MASK(PIN) (1 << PIN)
34 32
 #endif

+ 0
- 2
Marlin/src/HAL/shared/servo.h View File

@@ -67,8 +67,6 @@
67 67
  *                   With DEACTIVATE_SERVOS_AFTER_MOVE wait SERVO_DELAY and detach.
68 68
  */
69 69
 
70
-#pragma once
71
-
72 70
 #if IS_TEENSY32
73 71
   #include "../HAL_TEENSY31_32/HAL_Servo_Teensy.h"
74 72
 #elif IS_TEENSY35 || IS_TEENSY36

+ 0
- 1
Marlin/src/feature/Max7219_Debug_LEDs.h View File

@@ -41,7 +41,6 @@
41 41
  * faster to do a Max7219_Set_Column() with a rotation of 90 or 270 degrees than to do
42 42
  * a Max7219_Set_Row().    The opposite is true for rotations of 0 or 180 degrees.
43 43
  */
44
-#pragma once
45 44
 
46 45
 #ifndef MAX7219_ROTATE
47 46
   #define MAX7219_ROTATE 0

+ 0
- 1
Marlin/src/gcode/gcode.h View File

@@ -274,7 +274,6 @@
274 274
  * T0-T3 - Select an extruder (tool) by index: "T<n> F<units/min>"
275 275
  *
276 276
  */
277
-#pragma once
278 277
 
279 278
 #include "../inc/MarlinConfig.h"
280 279
 #include "parser.h"

+ 0
- 2
Marlin/src/lcd/extensible_ui/ui_api.h View File

@@ -42,8 +42,6 @@
42 42
  *   location: <http://www.gnu.org/licenses/>.                              *
43 43
  ****************************************************************************/
44 44
 
45
-#pragma once
46
-
47 45
 #include "../../inc/MarlinConfig.h"
48 46
 
49 47
 namespace ExtUI {

+ 0
- 2
Marlin/src/libs/vector_3.h View File

@@ -40,8 +40,6 @@
40 40
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
41 41
  */
42 42
 
43
-#pragma once
44
-
45 43
 class matrix_3x3;
46 44
 
47 45
 struct vector_3 {

+ 0
- 2
Marlin/src/module/delta.h View File

@@ -25,8 +25,6 @@
25 25
  * delta.h - Delta-specific functions
26 26
  */
27 27
 
28
-#pragma once
29
-
30 28
 extern float delta_height,
31 29
              delta_endstop_adj[ABC],
32 30
              delta_radius,

+ 0
- 1
Marlin/src/module/motion.h View File

@@ -27,7 +27,6 @@
27 27
  * High-level motion commands to feed the planner
28 28
  * Some of these methods may migrate to the planner class.
29 29
  */
30
-#pragma once
31 30
 
32 31
 #include "../inc/MarlinConfig.h"
33 32
 

+ 0
- 2
Marlin/src/module/scara.h View File

@@ -25,8 +25,6 @@
25 25
  * scara.h - SCARA-specific functions
26 26
  */
27 27
 
28
-#pragma once
29
-
30 28
 #include "../core/macros.h"
31 29
 
32 30
 extern float delta_segments_per_second;

+ 0
- 2
Marlin/src/pins/stm32/pins_BLACK_STM32F407VE.h View File

@@ -27,8 +27,6 @@
27 27
  * Shield - https://github.com/jmz52/Hardware
28 28
  */
29 29
 
30
-#pragma once
31
-
32 30
 #if !defined(STM32F4) && !defined(STM32F4xx)
33 31
   #error "Oops! Select an STM32F4 board in 'Tools > Board.'"
34 32
 #elif HOTENDS > 2 || E_STEPPERS > 2

Loading…
Cancel
Save