Remove extra pragmas
This commit is contained in:
		
							parent
							
								
									202d3ab3c9
								
							
						
					
					
						commit
						c2b319360d
					
				| @ -26,8 +26,6 @@ | |||||||
|  * Teensy3.2 (__MK20DX256__) |  * Teensy3.2 (__MK20DX256__) | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma once |  | ||||||
| 
 |  | ||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| 
 | 
 | ||||||
| // ------------------------
 | // ------------------------
 | ||||||
|  | |||||||
| @ -35,8 +35,6 @@ | |||||||
|  * (Located in Marlin/buildroot/share/pin_interrupt_test/pin_interrupt_test.ino) |  * (Located in Marlin/buildroot/share/pin_interrupt_test/pin_interrupt_test.ino) | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma once |  | ||||||
| 
 |  | ||||||
| #include "../../module/endstops.h" | #include "../../module/endstops.h" | ||||||
| 
 | 
 | ||||||
| // One ISR for all EXT-Interrupts
 | // One ISR for all EXT-Interrupts
 | ||||||
|  | |||||||
| @ -27,8 +27,6 @@ | |||||||
|  * Contributed by Triffid_Hunter and modified by Kliment, thinkyhead, Bob-the-Kuhn, et.al. |  * Contributed by Triffid_Hunter and modified by Kliment, thinkyhead, Bob-the-Kuhn, et.al. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma once |  | ||||||
| 
 |  | ||||||
| #ifndef MASK | #ifndef MASK | ||||||
|   #define MASK(PIN) (1 << PIN) |   #define MASK(PIN) (1 << PIN) | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -67,8 +67,6 @@ | |||||||
|  *                   With DEACTIVATE_SERVOS_AFTER_MOVE wait SERVO_DELAY and detach. |  *                   With DEACTIVATE_SERVOS_AFTER_MOVE wait SERVO_DELAY and detach. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma once |  | ||||||
| 
 |  | ||||||
| #if IS_TEENSY32 | #if IS_TEENSY32 | ||||||
|   #include "../HAL_TEENSY31_32/HAL_Servo_Teensy.h" |   #include "../HAL_TEENSY31_32/HAL_Servo_Teensy.h" | ||||||
| #elif IS_TEENSY35 || IS_TEENSY36 | #elif IS_TEENSY35 || IS_TEENSY36 | ||||||
|  | |||||||
| @ -41,7 +41,6 @@ | |||||||
|  * faster to do a Max7219_Set_Column() with a rotation of 90 or 270 degrees than to do |  * faster to do a Max7219_Set_Column() with a rotation of 90 or 270 degrees than to do | ||||||
|  * a Max7219_Set_Row().    The opposite is true for rotations of 0 or 180 degrees. |  * a Max7219_Set_Row().    The opposite is true for rotations of 0 or 180 degrees. | ||||||
|  */ |  */ | ||||||
| #pragma once |  | ||||||
| 
 | 
 | ||||||
| #ifndef MAX7219_ROTATE | #ifndef MAX7219_ROTATE | ||||||
|   #define MAX7219_ROTATE 0 |   #define MAX7219_ROTATE 0 | ||||||
|  | |||||||
| @ -274,7 +274,6 @@ | |||||||
|  * T0-T3 - Select an extruder (tool) by index: "T<n> F<units/min>" |  * T0-T3 - Select an extruder (tool) by index: "T<n> F<units/min>" | ||||||
|  * |  * | ||||||
|  */ |  */ | ||||||
| #pragma once |  | ||||||
| 
 | 
 | ||||||
| #include "../inc/MarlinConfig.h" | #include "../inc/MarlinConfig.h" | ||||||
| #include "parser.h" | #include "parser.h" | ||||||
|  | |||||||
| @ -42,8 +42,6 @@ | |||||||
|  *   location: <http://www.gnu.org/licenses/>.                              *
 |  *   location: <http://www.gnu.org/licenses/>.                              *
 | ||||||
|  ****************************************************************************/ |  ****************************************************************************/ | ||||||
| 
 | 
 | ||||||
| #pragma once |  | ||||||
| 
 |  | ||||||
| #include "../../inc/MarlinConfig.h" | #include "../../inc/MarlinConfig.h" | ||||||
| 
 | 
 | ||||||
| namespace ExtUI { | namespace ExtUI { | ||||||
|  | |||||||
| @ -40,8 +40,6 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA |  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma once |  | ||||||
| 
 |  | ||||||
| class matrix_3x3; | class matrix_3x3; | ||||||
| 
 | 
 | ||||||
| struct vector_3 { | struct vector_3 { | ||||||
|  | |||||||
| @ -25,8 +25,6 @@ | |||||||
|  * delta.h - Delta-specific functions |  * delta.h - Delta-specific functions | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma once |  | ||||||
| 
 |  | ||||||
| extern float delta_height, | extern float delta_height, | ||||||
|              delta_endstop_adj[ABC], |              delta_endstop_adj[ABC], | ||||||
|              delta_radius, |              delta_radius, | ||||||
|  | |||||||
| @ -27,7 +27,6 @@ | |||||||
|  * High-level motion commands to feed the planner |  * High-level motion commands to feed the planner | ||||||
|  * Some of these methods may migrate to the planner class. |  * Some of these methods may migrate to the planner class. | ||||||
|  */ |  */ | ||||||
| #pragma once |  | ||||||
| 
 | 
 | ||||||
| #include "../inc/MarlinConfig.h" | #include "../inc/MarlinConfig.h" | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -25,8 +25,6 @@ | |||||||
|  * scara.h - SCARA-specific functions |  * scara.h - SCARA-specific functions | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma once |  | ||||||
| 
 |  | ||||||
| #include "../core/macros.h" | #include "../core/macros.h" | ||||||
| 
 | 
 | ||||||
| extern float delta_segments_per_second; | extern float delta_segments_per_second; | ||||||
|  | |||||||
| @ -27,8 +27,6 @@ | |||||||
|  * Shield - https://github.com/jmz52/Hardware
 |  * Shield - https://github.com/jmz52/Hardware
 | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma once |  | ||||||
| 
 |  | ||||||
| #if !defined(STM32F4) && !defined(STM32F4xx) | #if !defined(STM32F4) && !defined(STM32F4xx) | ||||||
|   #error "Oops! Select an STM32F4 board in 'Tools > Board.'" |   #error "Oops! Select an STM32F4 board in 'Tools > Board.'" | ||||||
| #elif HOTENDS > 2 || E_STEPPERS > 2 | #elif HOTENDS > 2 || E_STEPPERS > 2 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user