From 496e7f5e89bcff02eb47c19f3293e73c945a211f Mon Sep 17 00:00:00 2001 From: flabbergast Date: Mon, 4 Apr 2016 09:26:36 +0100 Subject: [PATCH] [KINETIS] Rename header guards in HAL. --- os/hal/ports/KINETIS/K20x/hal_lld.h | 6 +++--- os/hal/ports/KINETIS/K20x/hal_pwm_lld.h | 6 +++--- os/hal/ports/KINETIS/K20x/hal_spi_lld.h | 6 +++--- os/hal/ports/KINETIS/K20x/kinetis_registry.h | 6 +++--- os/hal/ports/KINETIS/KL2x/hal_lld.h | 6 +++--- os/hal/ports/KINETIS/KL2x/hal_pwm_lld.h | 6 +++--- os/hal/ports/KINETIS/KL2x/kinetis_registry.h | 6 +++--- os/hal/ports/KINETIS/LLD/hal_adc_lld.h | 6 +++--- os/hal/ports/KINETIS/LLD/hal_ext_lld.h | 6 +++--- os/hal/ports/KINETIS/LLD/hal_gpt_lld.h | 6 +++--- os/hal/ports/KINETIS/LLD/hal_i2c_lld.h | 6 +++--- os/hal/ports/KINETIS/LLD/hal_pal_lld.h | 6 +++--- os/hal/ports/KINETIS/LLD/hal_serial_lld.h | 6 +++--- os/hal/ports/KINETIS/LLD/hal_st_lld.h | 6 +++--- os/hal/ports/KINETIS/LLD/hal_usb_lld.h | 6 +++--- 15 files changed, 45 insertions(+), 45 deletions(-) diff --git a/os/hal/ports/KINETIS/K20x/hal_lld.h b/os/hal/ports/KINETIS/K20x/hal_lld.h index 31364cf8..b7f6b46e 100644 --- a/os/hal/ports/KINETIS/K20x/hal_lld.h +++ b/os/hal/ports/KINETIS/K20x/hal_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _HAL_LLD_H_ -#define _HAL_LLD_H_ +#ifndef HAL_LLD_H_ +#define HAL_LLD_H_ #include "kinetis_registry.h" @@ -297,6 +297,6 @@ extern "C" { } #endif -#endif /* _HAL_LLD_H_ */ +#endif /* HAL_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/K20x/hal_pwm_lld.h b/os/hal/ports/KINETIS/K20x/hal_pwm_lld.h index 176e8a83..ccc100fd 100644 --- a/os/hal/ports/KINETIS/K20x/hal_pwm_lld.h +++ b/os/hal/ports/KINETIS/K20x/hal_pwm_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _PWM_LLD_H_ -#define _PWM_LLD_H_ +#ifndef HAL_PWM_LLD_H_ +#define HAL_PWM_LLD_H_ #if HAL_USE_PWM || defined(__DOXYGEN__) @@ -265,6 +265,6 @@ extern "C" { #endif /* HAL_USE_PWM */ -#endif /* _PWM_LLD_H_ */ +#endif /* HAL_PWM_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/K20x/hal_spi_lld.h b/os/hal/ports/KINETIS/K20x/hal_spi_lld.h index a1f2a994..0cf108e9 100644 --- a/os/hal/ports/KINETIS/K20x/hal_spi_lld.h +++ b/os/hal/ports/KINETIS/K20x/hal_spi_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _SPI_LLD_H_ -#define _SPI_LLD_H_ +#ifndef HAL_SPI_LLD_H_ +#define HAL_SPI_LLD_H_ #if HAL_USE_SPI || defined(__DOXYGEN__) @@ -256,6 +256,6 @@ extern "C" { #endif /* HAL_USE_SPI */ -#endif /* _SPI_LLD_H_ */ +#endif /* HAL_SPI_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/K20x/kinetis_registry.h b/os/hal/ports/KINETIS/K20x/kinetis_registry.h index 4c70e845..d2eea6f2 100644 --- a/os/hal/ports/KINETIS/K20x/kinetis_registry.h +++ b/os/hal/ports/KINETIS/K20x/kinetis_registry.h @@ -23,8 +23,8 @@ * @{ */ -#ifndef _KINETIS_REGISTRY_H_ -#define _KINETIS_REGISTRY_H_ +#ifndef KINETIS_REGISTRY_H_ +#define KINETIS_REGISTRY_H_ #if !defined(K20x) || defined(__DOXYGEN__) #define K20x @@ -253,6 +253,6 @@ /** @} */ -#endif /* _KINETIS_REGISTRY_H_ */ +#endif /* KINETIS_REGISTRY_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/KL2x/hal_lld.h b/os/hal/ports/KINETIS/KL2x/hal_lld.h index a10c21c6..d16e13f3 100644 --- a/os/hal/ports/KINETIS/KL2x/hal_lld.h +++ b/os/hal/ports/KINETIS/KL2x/hal_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _HAL_LLD_H_ -#define _HAL_LLD_H_ +#ifndef HAL_LLD_H_ +#define HAL_LLD_H_ #include "kl2xz.h" #include "kinetis_registry.h" @@ -311,6 +311,6 @@ extern "C" { } #endif -#endif /* _HAL_LLD_H_ */ +#endif /* HAL_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/KL2x/hal_pwm_lld.h b/os/hal/ports/KINETIS/KL2x/hal_pwm_lld.h index 5a3d7c23..64ff9ee6 100644 --- a/os/hal/ports/KINETIS/KL2x/hal_pwm_lld.h +++ b/os/hal/ports/KINETIS/KL2x/hal_pwm_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _PWM_LLD_H_ -#define _PWM_LLD_H_ +#ifndef HAL_PWM_LLD_H_ +#define HAL_PWM_LLD_H_ #if HAL_USE_PWM || defined(__DOXYGEN__) @@ -300,6 +300,6 @@ extern "C" { #endif /* HAL_USE_PWM */ -#endif /* _PWM_LLD_H_ */ +#endif /* HAL_PWM_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/KL2x/kinetis_registry.h b/os/hal/ports/KINETIS/KL2x/kinetis_registry.h index 92ea0cca..49b1ec89 100644 --- a/os/hal/ports/KINETIS/KL2x/kinetis_registry.h +++ b/os/hal/ports/KINETIS/KL2x/kinetis_registry.h @@ -23,8 +23,8 @@ * @{ */ -#ifndef _KINETIS_REGISTRY_H_ -#define _KINETIS_REGISTRY_H_ +#ifndef KINETIS_REGISTRY_H_ +#define KINETIS_REGISTRY_H_ #if !defined(KL2x) || defined(__DOXYGEN__) #define KL2x @@ -253,6 +253,6 @@ /** @} */ -#endif /* _KINETIS_REGISTRY_H_ */ +#endif /* KINETIS_REGISTRY_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/LLD/hal_adc_lld.h b/os/hal/ports/KINETIS/LLD/hal_adc_lld.h index 22db2c04..c4edbd60 100644 --- a/os/hal/ports/KINETIS/LLD/hal_adc_lld.h +++ b/os/hal/ports/KINETIS/LLD/hal_adc_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _ADC_LLD_H_ -#define _ADC_LLD_H_ +#ifndef HAL_ADC_LLD_H_ +#define HAL_ADC_LLD_H_ #if HAL_USE_ADC || defined(__DOXYGEN__) @@ -355,6 +355,6 @@ extern "C" { #endif /* HAL_USE_ADC */ -#endif /* _ADC_LLD_H_ */ +#endif /* HAL_ADC_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/LLD/hal_ext_lld.h b/os/hal/ports/KINETIS/LLD/hal_ext_lld.h index 465bb89f..bcd9cb00 100644 --- a/os/hal/ports/KINETIS/LLD/hal_ext_lld.h +++ b/os/hal/ports/KINETIS/LLD/hal_ext_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _EXT_LLD_H_ -#define _EXT_LLD_H_ +#ifndef HAL_EXT_LLD_H_ +#define HAL_EXT_LLD_H_ #if HAL_USE_EXT || defined(__DOXYGEN__) @@ -183,6 +183,6 @@ extern "C" { #endif /* HAL_USE_EXT */ -#endif /* _EXT_LLD_H_ */ +#endif /* HAL_EXT_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/LLD/hal_gpt_lld.h b/os/hal/ports/KINETIS/LLD/hal_gpt_lld.h index 5c3e233c..1b9e5ef8 100644 --- a/os/hal/ports/KINETIS/LLD/hal_gpt_lld.h +++ b/os/hal/ports/KINETIS/LLD/hal_gpt_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _GPT_LLD_H_ -#define _GPT_LLD_H_ +#ifndef HAL_GPT_LLD_H_ +#define HAL_GPT_LLD_H_ #if HAL_USE_GPT || defined(__DOXYGEN__) @@ -328,6 +328,6 @@ extern "C" { #endif /* HAL_USE_GPT */ -#endif /* _GPT_LLD_H_ */ +#endif /* HAL_GPT_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h b/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h index 5f1ed87a..a7214c5e 100644 --- a/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h +++ b/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _I2C_LLD_H_ -#define _I2C_LLD_H_ +#ifndef HAL_I2C_LLD_H_ +#define HAL_I2C_LLD_H_ #if HAL_USE_I2C || defined(__DOXYGEN__) @@ -231,6 +231,6 @@ extern "C" { #endif /* HAL_USE_I2C */ -#endif /* _I2C_LLD_H_ */ +#endif /* HAL_I2C_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/LLD/hal_pal_lld.h b/os/hal/ports/KINETIS/LLD/hal_pal_lld.h index 2bd9872f..05749d50 100644 --- a/os/hal/ports/KINETIS/LLD/hal_pal_lld.h +++ b/os/hal/ports/KINETIS/LLD/hal_pal_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _PAL_LLD_H_ -#define _PAL_LLD_H_ +#ifndef HAL_PAL_LLD_H_ +#define HAL_PAL_LLD_H_ #if HAL_USE_PAL || defined(__DOXYGEN__) @@ -381,6 +381,6 @@ extern "C" { #endif /* HAL_USE_PAL */ -#endif /* _PAL_LLD_H_ */ +#endif /* HAL_PAL_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/LLD/hal_serial_lld.h b/os/hal/ports/KINETIS/LLD/hal_serial_lld.h index cc66eb33..f11c063f 100644 --- a/os/hal/ports/KINETIS/LLD/hal_serial_lld.h +++ b/os/hal/ports/KINETIS/LLD/hal_serial_lld.h @@ -22,8 +22,8 @@ * @{ */ -#ifndef _SERIAL_LLD_H_ -#define _SERIAL_LLD_H_ +#ifndef HAL_SERIAL_LLD_H_ +#define HAL_SERIAL_LLD_H_ #if HAL_USE_SERIAL || defined(__DOXYGEN__) @@ -215,6 +215,6 @@ extern "C" { #endif /* HAL_USE_SERIAL */ -#endif /* _SERIAL_LLD_H_ */ +#endif /* HAL_SERIAL_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/LLD/hal_st_lld.h b/os/hal/ports/KINETIS/LLD/hal_st_lld.h index c67a5d0e..29c7035c 100644 --- a/os/hal/ports/KINETIS/LLD/hal_st_lld.h +++ b/os/hal/ports/KINETIS/LLD/hal_st_lld.h @@ -24,8 +24,8 @@ * @{ */ -#ifndef _ST_LLD_H_ -#define _ST_LLD_H_ +#ifndef HAL_ST_LLD_H_ +#define HAL_ST_LLD_H_ #include "mcuconf.h" @@ -151,6 +151,6 @@ static inline bool st_lld_is_alarm_active(void) { return false; } -#endif /* _ST_LLD_H_ */ +#endif /* HAL_ST_LLD_H_ */ /** @} */ diff --git a/os/hal/ports/KINETIS/LLD/hal_usb_lld.h b/os/hal/ports/KINETIS/LLD/hal_usb_lld.h index 978e8a6c..593ef165 100644 --- a/os/hal/ports/KINETIS/LLD/hal_usb_lld.h +++ b/os/hal/ports/KINETIS/LLD/hal_usb_lld.h @@ -23,8 +23,8 @@ * @{ */ -#ifndef _USB_LLD_H_ -#define _USB_LLD_H_ +#ifndef HAL_USB_LLD_H_ +#define HAL_USB_LLD_H_ #if HAL_USE_USB || defined(__DOXYGEN__) @@ -423,6 +423,6 @@ extern "C" { #endif /* HAL_USE_USB */ -#endif /* _USB_LLD_H_ */ +#endif /* HAL_USB_LLD_H_ */ /** @} */