Browse Source

boards/frdm-k64f: fixed include guards

cc430
Hauke Petersen 7 years ago
parent
commit
54b3a51fe6
  1. 6
      boards/frdm-k64f/include/board.h
  2. 7
      boards/frdm-k64f/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 */
/** @} */

Loading…
Cancel
Save