Merge pull request #4377 from haukepetersen/fix_boards_includeguards

boards: fixed include guards
This commit is contained in:
Hauke Petersen 2015-12-02 13:27:20 +01:00
commit c7d056208f
7 changed files with 23 additions and 22 deletions

View File

@ -19,8 +19,8 @@
* @author Johann Fischer <j.fischer@phytec.de>
*/
#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 */
/** @} */

View File

@ -17,8 +17,8 @@
* @author Johann Fischer <j.fischer@phytec.de>
*/
#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 */
/** @} */

View File

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#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 */
/** @} */

View File

@ -20,8 +20,8 @@
* @author Frank Holtz <frank-riot2015@holtznet.de>
*/
#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 */
/** @} */

View File

@ -19,8 +19,8 @@
* @author Frank Holtz <frank-riot2015@holtznet.de>
*/
#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 */
/** @} */

View File

@ -18,8 +18,8 @@
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
*/
#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 */
/** @} */

View File

@ -19,8 +19,8 @@
* @autor Kaspar Schleiser <kaspar@schleiser.de>
*/
#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 */
/** @} */