Merge pull request #4377 from haukepetersen/fix_boards_includeguards
boards: fixed include guards
This commit is contained in:
commit
c7d056208f
@ -19,8 +19,8 @@
|
|||||||
* @author Johann Fischer <j.fischer@phytec.de>
|
* @author Johann Fischer <j.fischer@phytec.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BOARD_H
|
#ifndef BOARD_H
|
||||||
#define __BOARD_H
|
#define BOARD_H
|
||||||
|
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
#include "periph_conf.h"
|
#include "periph_conf.h"
|
||||||
@ -94,5 +94,5 @@ void board_init(void);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /** __BOARD_H */
|
#endif /** BOARD_H */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
@ -17,8 +17,8 @@
|
|||||||
* @author Johann Fischer <j.fischer@phytec.de>
|
* @author Johann Fischer <j.fischer@phytec.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __PERIPH_CONF_H
|
#ifndef PERIPH_CONF_H
|
||||||
#define __PERIPH_CONF_H
|
#define PERIPH_CONF_H
|
||||||
|
|
||||||
#include "cpu_conf.h"
|
#include "cpu_conf.h"
|
||||||
|
|
||||||
@ -284,12 +284,11 @@ extern "C"
|
|||||||
#define KINETIS_RNGA RNG
|
#define KINETIS_RNGA RNG
|
||||||
#define RANDOM_CLKEN() (SIM->SCGC6 |= (1 << 9))
|
#define RANDOM_CLKEN() (SIM->SCGC6 |= (1 << 9))
|
||||||
#define RANDOM_CLKDIS() (SIM->SCGC6 &= ~(1 << 9))
|
#define RANDOM_CLKDIS() (SIM->SCGC6 &= ~(1 << 9))
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __PERIPH_CONF_H */
|
#endif /* PERIPH_CONF_H */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
@ -16,8 +16,8 @@
|
|||||||
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __PERIPH_CONF_H
|
#ifndef PERIPH_CONF_H
|
||||||
#define __PERIPH_CONF_H
|
#define PERIPH_CONF_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -120,4 +120,5 @@ extern "C" {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __PERIPH_CONF_H */
|
#endif /* PERIPH_CONF_H */
|
||||||
|
/** @} */
|
||||||
|
|||||||
@ -20,8 +20,8 @@
|
|||||||
* @author Frank Holtz <frank-riot2015@holtznet.de>
|
* @author Frank Holtz <frank-riot2015@holtznet.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BOARD_H
|
#ifndef BOARD_H
|
||||||
#define __BOARD_H
|
#define BOARD_H
|
||||||
|
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
|
|
||||||
@ -77,5 +77,5 @@ void board_init(void);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /** __BOARD_H */
|
#endif /** BOARD_H */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
@ -19,8 +19,8 @@
|
|||||||
* @author Frank Holtz <frank-riot2015@holtznet.de>
|
* @author Frank Holtz <frank-riot2015@holtznet.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __PERIPH_CONF_H
|
#ifndef PERIPH_CONF_H
|
||||||
#define __PERIPH_CONF_H
|
#define PERIPH_CONF_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -148,4 +148,5 @@ extern "C" {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __PERIPH_CONF_H */
|
#endif /* PERIPH_CONF_H */
|
||||||
|
/** @} */
|
||||||
|
|||||||
@ -18,8 +18,8 @@
|
|||||||
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
|
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BOARD_H
|
#ifndef BOARD_H
|
||||||
#define __BOARD_H
|
#define BOARD_H
|
||||||
|
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
|
|
||||||
@ -79,5 +79,5 @@ void board_init(void);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /** __BOARD_H */
|
#endif /** BOARD_H */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
@ -19,8 +19,8 @@
|
|||||||
* @autor Kaspar Schleiser <kaspar@schleiser.de>
|
* @autor Kaspar Schleiser <kaspar@schleiser.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __PERIPH_CONF_H
|
#ifndef PERIPH_CONF_H
|
||||||
#define __PERIPH_CONF_H
|
#define PERIPH_CONF_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -109,5 +109,5 @@ extern "C" {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __PERIPH_CONF_H */
|
#endif /* PERIPH_CONF_H */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user