1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/nucleo: fixed xtimer configuration

This commit is contained in:
Hauke Petersen 2017-01-27 11:35:45 +01:00
parent 1171db8c5f
commit 57948eb7b9
4 changed files with 17 additions and 27 deletions

View File

@ -24,30 +24,19 @@
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
#include "board_common.h"
#include "cpu.h"
#include "periph_conf.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief xtimer configuration
* @brief Xtimer configuration
* @{
*/
#define XTIMER_WIDTH (16)
#define XTIMER_WIDTH (16)
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
void board_init(void);
#ifdef __cplusplus
}
#endif

View File

@ -25,21 +25,18 @@
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
#include "board_common.h"
#include "cpu.h"
#include "periph_conf.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Xtimer configuration
* @{
*/
void board_init(void);
#define XTIMER_WIDTH (16)
/** @} */
#ifdef __cplusplus
}

View File

@ -23,21 +23,18 @@
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
#include "board_common.h"
#include "cpu.h"
#include "periph_conf.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Xtimer configuration
* @{
*/
void board_init(void);
#define XTIMER_WIDTH (16)
/** @} */
#ifdef __cplusplus
}

View File

@ -28,6 +28,13 @@
extern "C" {
#endif
/**
* @brief Xtimer configuration
* @{
*/
#define XTIMER_WIDTH (16)
/** @} */
#ifdef __cplusplus
}
#endif