From ba3a46435ca35ae99c3d721d7f46464d032bdca7 Mon Sep 17 00:00:00 2001 From: smlng <s@mlng.net> Date: Fri, 3 Mar 2017 16:19:30 +0100 Subject: [PATCH] cc2538: revert xtimer params from #5608 --- boards/cc2538dk/include/board.h | 4 ++-- boards/openmote-cc2538/include/board.h | 4 ++-- boards/remote-common/include/board_common.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boards/cc2538dk/include/board.h b/boards/cc2538dk/include/board.h index 1c534d3622..d0dcc5dacc 100644 --- a/boards/cc2538dk/include/board.h +++ b/boards/cc2538dk/include/board.h @@ -80,8 +80,8 @@ extern "C" { #define XTIMER_DEV (0) #define XTIMER_CHAN (0) #define XTIMER_WIDTH (16) -#define XTIMER_SHIFT (4) -#define XTIMER_HZ (16000000UL) +#define XTIMER_SHIFT (0) +#define XTIMER_HZ (1000000UL) #define XTIMER_BACKOFF (50) #define XTIMER_ISR_BACKOFF (40) /** @} */ diff --git a/boards/openmote-cc2538/include/board.h b/boards/openmote-cc2538/include/board.h index ce3de04cec..a7d658b948 100644 --- a/boards/openmote-cc2538/include/board.h +++ b/boards/openmote-cc2538/include/board.h @@ -67,8 +67,8 @@ #define XTIMER_DEV (0) #define XTIMER_CHAN (0) #define XTIMER_WIDTH (16) -#define XTIMER_SHIFT (4) -#define XTIMER_HZ (16000000UL) +#define XTIMER_SHIFT (0) +#define XTIMER_HZ (1000000UL) #define XTIMER_BACKOFF (50) #define XTIMER_ISR_BACKOFF (40) /** @} */ diff --git a/boards/remote-common/include/board_common.h b/boards/remote-common/include/board_common.h index 298761aa2f..555e173fe9 100644 --- a/boards/remote-common/include/board_common.h +++ b/boards/remote-common/include/board_common.h @@ -80,8 +80,8 @@ #define XTIMER_DEV (0) #define XTIMER_CHAN (0) #define XTIMER_WIDTH (16) -#define XTIMER_SHIFT (4) -#define XTIMER_HZ (16000000UL) +#define XTIMER_SHIFT (0) +#define XTIMER_HZ (1000000UL) #define XTIMER_BACKOFF (50) #define XTIMER_ISR_BACKOFF (40) /** @} */ -- GitLab