Browse Source

Merge pull request #4377 from haukepetersen/fix_boards_includeguards

boards: fixed include guards
cc430
Hauke Petersen 7 years ago
parent
commit
c7d056208f
  1. 6
      boards/frdm-k64f/include/board.h
  2. 7
      boards/frdm-k64f/include/periph_conf.h
  3. 7
      boards/nrf51dongle/include/periph_conf.h
  4. 6
      boards/nrf6310/include/board.h
  5. 7
      boards/nrf6310/include/periph_conf.h
  6. 6
      boards/saml21-xpro/include/board.h
  7. 6
      boards/saml21-xpro/include/periph_conf.h

6
boards/frdm-k64f/include/board.h

@ -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 */
/** @} */

7
boards/frdm-k64f/include/periph_conf.h

@ -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 */
/** @} */

7
boards/nrf51dongle/include/periph_conf.h

@ -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 */
/** @} */

6
boards/nrf6310/include/board.h

@ -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 */
/** @} */

7
boards/nrf6310/include/periph_conf.h

@ -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 */
/** @} */

6
boards/saml21-xpro/include/board.h

@ -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 */
/** @} */

6
boards/saml21-xpro/include/periph_conf.h

@ -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 */
/** @} */

Loading…
Cancel
Save