Browse Source

Remove extra pragmas

Scott Lahteine 5 years ago
parent
commit
c2b319360d

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save