Code cleanup
- Changing header file ifndef define to pragma once's - Removed duplicate output_com.h's
This commit is contained in:
		
							parent
							
								
									03f60df94d
								
							
						
					
					
						commit
						5f262ea4b6
					
				
					 75 changed files with 158 additions and 650 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (C) 2014 by Jacob Alexander
 | 
			
		||||
/* Copyright (C) 2014-2015 by Jacob Alexander
 | 
			
		||||
 *
 | 
			
		||||
 * This file is free software: you can redistribute it and/or modify
 | 
			
		||||
 * it under the terms of the GNU General Public License as published by
 | 
			
		||||
| 
						 | 
				
			
			@ -14,8 +14,7 @@
 | 
			
		|||
 * along with this file.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef __kll_h
 | 
			
		||||
#define __kll_h
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
// ----- Includes -----
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -252,7 +251,3 @@ typedef struct Layer {
 | 
			
		|||
// Total number of layers
 | 
			
		||||
#define LayerNum sizeof( LayerIndex ) / sizeof( Layer )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#endif // __kll_h
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
/* Copyright (C) 2014 by Jacob Alexander
 | 
			
		||||
/* Copyright (C) 2014-2015 by Jacob Alexander
 | 
			
		||||
 *
 | 
			
		||||
 * This file is free software: you can redistribute it and/or modify
 | 
			
		||||
 * it under the terms of the GNU General Public License as published by
 | 
			
		||||
| 
						 | 
				
			
			@ -14,8 +14,7 @@
 | 
			
		|||
 * along with this file.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef __macro_h
 | 
			
		||||
#define __macro_h
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
// ----- Includes -----
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -42,5 +41,3 @@ void Macro_triggerState( void *triggers, uint8_t num ); // triggers is of type T
 | 
			
		|||
void Macro_process();
 | 
			
		||||
void Macro_setup();
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,8 +19,7 @@
 | 
			
		|||
 * THE SOFTWARE.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef __usb_hid_h
 | 
			
		||||
#define __usb_hid_h
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
// ----- Defines -----
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -773,7 +772,3 @@
 | 
			
		|||
#define AC_DISTRIBUTE_VERTICALLY    0x29C
 | 
			
		||||
// 0x29D-0xFFFF Reserved
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue