Change include guards in tmk_core/ and drivers/ to pragma once (#11240)
This commit is contained in:
		
							parent
							
								
									48f4768d33
								
							
						
					
					
						commit
						1d1d5da43f
					
				
					 60 changed files with 96 additions and 258 deletions
				
			
		| 
						 | 
				
			
			@ -21,8 +21,7 @@
 | 
			
		|||
 * This library also assumes that the pages are not used by the firmware.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef __EEPROM_H
 | 
			
		||||
#define __EEPROM_H
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <ch.h>
 | 
			
		||||
#include <hal.h>
 | 
			
		||||
| 
						 | 
				
			
			@ -83,5 +82,3 @@ uint16_t EEPROM_Init(void);
 | 
			
		|||
void     EEPROM_Erase(void);
 | 
			
		||||
uint16_t EEPROM_WriteDataByte(uint16_t Address, uint8_t DataByte);
 | 
			
		||||
uint8_t  EEPROM_ReadDataByte(uint16_t Address);
 | 
			
		||||
 | 
			
		||||
#endif /* __EEPROM_H */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,8 +16,7 @@
 | 
			
		|||
 * Modifications for QMK and STM32F303 by Yiancar
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef __FLASH_STM32_H
 | 
			
		||||
#define __FLASH_STM32_H
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
| 
						 | 
				
			
			@ -41,5 +40,3 @@ void FLASH_ClearFlag(uint32_t FLASH_FLAG);
 | 
			
		|||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif /* __FLASH_STM32_H */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue