CPU: fix include header guards

Fix cpu/lpc2387/include/lpc2387.h
This commit is contained in:
zhuoshuguo 2016-06-07 16:29:37 +02:00
parent 69b1ef3a41
commit 1cbe79a373
18 changed files with 55 additions and 55 deletions

View File

@ -17,8 +17,8 @@
* @author Hinnerk van Bruinehsen <h.v.bruinehsen@fu-berlin.de> * @author Hinnerk van Bruinehsen <h.v.bruinehsen@fu-berlin.de>
*/ */
#ifndef __CPU_CONF_H #ifndef CPU_CONF_H
#define __CPU_CONF_H #define CPU_CONF_H
#include "atmega2560_regs.h" #include "atmega2560_regs.h"
@ -47,5 +47,5 @@ extern "C" {
} }
#endif #endif
#endif /* __CPU_CONF_H */ #endif /* CPU_CONF_H */
/** @} */ /** @} */

View File

@ -24,8 +24,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de> * @author Kaspar Schleiser <kaspar@schleiser.de>
*/ */
#ifndef __ATMEGA_COMMON_H #ifndef ATMEGA_COMMON_H
#define __ATMEGA_COMMON_H #define ATMEGA_COMMON_H
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
@ -83,5 +83,5 @@ static inline void cpu_print_last_instruction(void)
} }
#endif #endif
#endif /* __ATMEGA_COMMON_H */ #endif /* ATMEGA_COMMON_H */
/** @} */ /** @} */

View File

@ -16,8 +16,8 @@
* @author Ian Martin <ian@locicontrols.com> * @author Ian Martin <ian@locicontrols.com>
*/ */
#ifndef __CPU_CONF_H #ifndef CPU_CONF_H
#define __CPU_CONF_H #define CPU_CONF_H
#include "cpu_conf_common.h" #include "cpu_conf_common.h"
#include "cc2538.h" #include "cc2538.h"
@ -46,5 +46,5 @@ extern "C" {
} /* end extern "C" */ } /* end extern "C" */
#endif #endif
#endif /* __CPU_CONF_H */ #endif /* CPU_CONF_H */
/** @} */ /** @} */

View File

@ -32,8 +32,8 @@
---------------------------------------------------------------------------*/ ---------------------------------------------------------------------------*/
#ifndef __CMSIS_ARMCC_H #ifndef CMSIS_ARMCC_H
#define __CMSIS_ARMCC_H #define CMSIS_ARMCC_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -737,4 +737,4 @@ __attribute__((section(".rrx_text"))) __STATIC_INLINE __ASM uint32_t __RRX(uint3
} }
#endif #endif
#endif /* __CMSIS_ARMCC_H */ #endif /* CMSIS_ARMCC_H */

View File

@ -32,8 +32,8 @@
---------------------------------------------------------------------------*/ ---------------------------------------------------------------------------*/
#ifndef __CMSIS_ARMCC_V6_H #ifndef CMSIS_ARMCC_V6_H
#define __CMSIS_ARMCC_V6_H #define CMSIS_ARMCC_V6_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -1804,4 +1804,4 @@ __attribute__((always_inline)) __STATIC_INLINE uint32_t __SMMLA (int32_t op1, in
} }
#endif #endif
#endif /* __CMSIS_ARMCC_V6_H */ #endif /* CMSIS_ARMCC_V6_H */

View File

@ -32,8 +32,8 @@
---------------------------------------------------------------------------*/ ---------------------------------------------------------------------------*/
#ifndef __CMSIS_GCC_H #ifndef CMSIS_GCC_H
#define __CMSIS_GCC_H #define CMSIS_GCC_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -1378,4 +1378,4 @@ __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __SMMLA (int32_t op1
} }
#endif #endif
#endif /* __CMSIS_GCC_H */ #endif /* CMSIS_GCC_H */

View File

@ -31,8 +31,8 @@
* *
*****************************************************************************/ *****************************************************************************/
#ifndef __SILICON_LABS_EZR32WG330F256R60_H__ #ifndef SILICON_LABS_EZR32WG330F256R60_H__
#define __SILICON_LABS_EZR32WG330F256R60_H__ #define SILICON_LABS_EZR32WG330F256R60_H__
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -492,4 +492,4 @@ typedef enum IRQn
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __SILICON_LABS_EZR32WG330F256R60_H__ */ #endif /* SILICON_LABS_EZR32WG330F256R60_H__ */

View File

@ -21,8 +21,8 @@
* @author Johann Fischer <j.fischer@phytec.de> * @author Johann Fischer <j.fischer@phytec.de>
*/ */
#ifndef __CPU_CONF_H #ifndef CPU_CONF_H
#define __CPU_CONF_H #define CPU_CONF_H
#include "cpu_conf_common.h" #include "cpu_conf_common.h"
@ -84,5 +84,5 @@ extern "C"
} }
#endif #endif
#endif /* __CPU_CONF_H */ #endif /* CPU_CONF_H */
/** @} */ /** @} */

View File

@ -97,8 +97,8 @@
* @author Johann Fischer <j.fischer@phytec.de> * @author Johann Fischer <j.fischer@phytec.de>
*/ */
#ifndef __MCG_CPU_H #ifndef MCG_CPU_H
#define __MCG_CPU_H #define MCG_CPU_H
#include "periph_conf.h" #include "periph_conf.h"
@ -130,7 +130,7 @@ int kinetis_mcg_set_mode(kinetis_mcg_mode_t mode);
} }
#endif #endif
#endif /* __MCG_CPU_H */ #endif /* KINETIS_CPU_USE_MCG */
/** @} */ /** @} */
#endif /* KINETIS_CPU_USE_MCG */ #endif /* MCG_CPU_H */

View File

@ -22,8 +22,8 @@
* @author Johann Fischer <j.fischer@phytec.de> * @author Johann Fischer <j.fischer@phytec.de>
*/ */
#ifndef __CPU_CONF_H #ifndef CPU_CONF_H
#define __CPU_CONF_H #define CPU_CONF_H
#include "cpu_conf_common.h" #include "cpu_conf_common.h"
@ -115,5 +115,5 @@ extern "C"
} }
#endif #endif
#endif /* __CPU_CONF_H */ #endif /* CPU_CONF_H */
/** @} */ /** @} */

View File

@ -25,8 +25,8 @@
* *
*/ */
#ifndef __LPC11UXX_H__ #ifndef LPC11UXX_H__
#define __LPC11UXX_H__ #define LPC11UXX_H__
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -662,5 +662,5 @@ typedef struct {
#endif #endif
#endif // __LPC11UXX_H__ #endif /* LPC11UXX_H__ */
/** @} */ /** @} */

View File

@ -18,8 +18,8 @@
* @author Paul RATHGEB <paul.rathgeb@skynet.be> * @author Paul RATHGEB <paul.rathgeb@skynet.be>
*/ */
#ifndef __CPU_CONF_H #ifndef CPU_CONF_H
#define __CPU_CONF_H #define CPU_CONF_H
#include "cpu_conf_common.h" #include "cpu_conf_common.h"
@ -42,5 +42,5 @@ extern "C" {
} }
#endif #endif
#endif /* __CPU_CONF_H */ #endif /* CPU_CONF_H */
/** @} */ /** @} */

View File

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#ifndef __LPC17xx_H__ #ifndef LPC17xx_H__
#define __LPC17xx_H__ #define LPC17xx_H__
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -1044,4 +1044,4 @@ typedef struct
} }
#endif #endif
#endif // __LPC17xx_H__ #endif /* LPC17xx_H__ */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.peterse@fu-berlin.de> * @author Hauke Petersen <hauke.peterse@fu-berlin.de>
*/ */
#ifndef __CPU_CONF_H #ifndef CPU_CONF_H
#define __CPU_CONF_H #define CPU_CONF_H
#include "cpu_conf_common.h" #include "cpu_conf_common.h"
@ -49,5 +49,5 @@ extern "C" {
} }
#endif #endif
#endif /* __CPU_CONF_H */ #endif /* CPU_CONF_H */
/** @} */ /** @} */

View File

@ -6,8 +6,8 @@
* directory for more details. * directory for more details.
*/ */
#ifndef __CPU_H #ifndef CPU_H
#define __CPU_H #define CPU_H
/** /**
* @defgroup lpc2387 NXP LPC2387 * @defgroup lpc2387 NXP LPC2387
@ -58,4 +58,4 @@ static inline void cpu_print_last_instruction(void)
#endif #endif
/** @} */ /** @} */
#endif /* __CPU_H */ #endif /* CPU_H */

View File

@ -28,8 +28,8 @@
* @note $Id: i2c.h 3857 2013-09-02 18:11:27 kasmi $ * @note $Id: i2c.h 3857 2013-09-02 18:11:27 kasmi $
*/ */
#ifndef __I2C_H #ifndef I2C_H
#define __I2C_H #define I2C_H
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>
@ -334,4 +334,4 @@ void i2c_disable_pull_up_resistor(uint8_t i2c_interface);
} }
#endif #endif
#endif /* end __I2C_H */ #endif /* I2C_H */

View File

@ -8,8 +8,8 @@
* Parts taken from FeuerWhere-Project, lpc2387.h. * Parts taken from FeuerWhere-Project, lpc2387.h.
*/ */
#ifndef __LPC2387_H #ifndef LPC2387_H
#define __LPC2387_H #define LPC2387_H
#include "lpc23xx.h" #include "lpc23xx.h"
#include "arm7_common.h" #include "arm7_common.h"
@ -151,4 +151,4 @@ extern "C" {
} }
#endif #endif
#endif // __LPC2387_H #endif /* LPC2387_H */

View File

@ -15,8 +15,8 @@
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de> * @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
*/ */
#ifndef __CPU_CONF_H #ifndef CPU_CONF_H
#define __CPU_CONF_H #define CPU_CONF_H
#include "cpu_conf_common.h" #include "cpu_conf_common.h"
@ -39,5 +39,5 @@ extern "C" {
} }
#endif #endif
#endif /* __CPU_CONF_H */ #endif /* CPU_CONF_H */
/** @} */ /** @} */