From 54b3a51fe6d2971447945881d612e59ba12af7aa Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Wed, 2 Dec 2015 10:55:26 +0100 Subject: [PATCH 1/4] boards/frdm-k64f: fixed include guards --- boards/frdm-k64f/include/board.h | 6 +++--- boards/frdm-k64f/include/periph_conf.h | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/boards/frdm-k64f/include/board.h b/boards/frdm-k64f/include/board.h index 28ae56ae0..9e557926b 100644 --- a/boards/frdm-k64f/include/board.h +++ b/boards/frdm-k64f/include/board.h @@ -19,8 +19,8 @@ * @author Johann Fischer */ -#ifndef __BOARD_H -#define __BOARD_H +#ifndef BOARD_H +#define BOARD_H #include "cpu.h" #include "periph_conf.h" @@ -94,5 +94,5 @@ void board_init(void); } #endif -#endif /** __BOARD_H */ +#endif /** BOARD_H */ /** @} */ diff --git a/boards/frdm-k64f/include/periph_conf.h b/boards/frdm-k64f/include/periph_conf.h index 6343feb66..ea4ee444c 100644 --- a/boards/frdm-k64f/include/periph_conf.h +++ b/boards/frdm-k64f/include/periph_conf.h @@ -17,8 +17,8 @@ * @author Johann Fischer */ -#ifndef __PERIPH_CONF_H -#define __PERIPH_CONF_H +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #include "cpu_conf.h" @@ -284,12 +284,11 @@ extern "C" #define KINETIS_RNGA RNG #define RANDOM_CLKEN() (SIM->SCGC6 |= (1 << 9)) #define RANDOM_CLKDIS() (SIM->SCGC6 &= ~(1 << 9)) - /** @} */ #ifdef __cplusplus } #endif -#endif /* __PERIPH_CONF_H */ +#endif /* PERIPH_CONF_H */ /** @} */ From d0423b26e10858397226f022f6b0a4ea61141ba3 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Wed, 2 Dec 2015 10:55:50 +0100 Subject: [PATCH 2/4] boards/nrf51dongle: fixed include gurads --- boards/nrf51dongle/include/periph_conf.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/boards/nrf51dongle/include/periph_conf.h b/boards/nrf51dongle/include/periph_conf.h index 97a9e093f..8ea27056a 100644 --- a/boards/nrf51dongle/include/periph_conf.h +++ b/boards/nrf51dongle/include/periph_conf.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef __PERIPH_CONF_H -#define __PERIPH_CONF_H +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #ifdef __cplusplus extern "C" { @@ -120,4 +120,5 @@ extern "C" { } #endif -#endif /* __PERIPH_CONF_H */ +#endif /* PERIPH_CONF_H */ +/** @} */ From ca05613082beb282079899879e91be67731b1965 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Wed, 2 Dec 2015 10:56:09 +0100 Subject: [PATCH 3/4] boards/nrf6310: fixed include guards --- boards/nrf6310/include/board.h | 6 +++--- boards/nrf6310/include/periph_conf.h | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/boards/nrf6310/include/board.h b/boards/nrf6310/include/board.h index 081419e96..3615968c0 100644 --- a/boards/nrf6310/include/board.h +++ b/boards/nrf6310/include/board.h @@ -20,8 +20,8 @@ * @author Frank Holtz */ -#ifndef __BOARD_H -#define __BOARD_H +#ifndef BOARD_H +#define BOARD_H #include "cpu.h" @@ -77,5 +77,5 @@ void board_init(void); } #endif -#endif /** __BOARD_H */ +#endif /** BOARD_H */ /** @} */ diff --git a/boards/nrf6310/include/periph_conf.h b/boards/nrf6310/include/periph_conf.h index a1b91736e..4027e1574 100644 --- a/boards/nrf6310/include/periph_conf.h +++ b/boards/nrf6310/include/periph_conf.h @@ -19,8 +19,8 @@ * @author Frank Holtz */ -#ifndef __PERIPH_CONF_H -#define __PERIPH_CONF_H +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #ifdef __cplusplus extern "C" { @@ -148,4 +148,5 @@ extern "C" { } #endif -#endif /* __PERIPH_CONF_H */ +#endif /* PERIPH_CONF_H */ +/** @} */ From 78bdec935640d9894914c159d136f02b285c9d66 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Wed, 2 Dec 2015 10:56:28 +0100 Subject: [PATCH 4/4] boards/saml21-xpro: fixed include guards --- boards/saml21-xpro/include/board.h | 6 +++--- boards/saml21-xpro/include/periph_conf.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boards/saml21-xpro/include/board.h b/boards/saml21-xpro/include/board.h index a061a815a..2bc2fc211 100644 --- a/boards/saml21-xpro/include/board.h +++ b/boards/saml21-xpro/include/board.h @@ -18,8 +18,8 @@ * @author Thomas Eichinger */ -#ifndef __BOARD_H -#define __BOARD_H +#ifndef BOARD_H +#define BOARD_H #include "cpu.h" @@ -79,5 +79,5 @@ void board_init(void); } #endif -#endif /** __BOARD_H */ +#endif /** BOARD_H */ /** @} */ diff --git a/boards/saml21-xpro/include/periph_conf.h b/boards/saml21-xpro/include/periph_conf.h index c624f73e7..0f94f0009 100644 --- a/boards/saml21-xpro/include/periph_conf.h +++ b/boards/saml21-xpro/include/periph_conf.h @@ -19,8 +19,8 @@ * @autor Kaspar Schleiser */ -#ifndef __PERIPH_CONF_H -#define __PERIPH_CONF_H +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #ifdef __cplusplus extern "C" { @@ -109,5 +109,5 @@ extern "C" { } #endif -#endif /* __PERIPH_CONF_H */ +#endif /* PERIPH_CONF_H */ /** @} */