From c3b7f640a08ed65080b67988dcf1303613704712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Mon, 14 Mar 2016 08:26:27 +0100 Subject: [PATCH 1/2] sys/xtimer: Remove unused XTIMER_USLEEP_UNTIL_OVERHEAD --- sys/include/xtimer.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sys/include/xtimer.h b/sys/include/xtimer.h index 8b7b93f41b..69c26a75d7 100644 --- a/sys/include/xtimer.h +++ b/sys/include/xtimer.h @@ -382,18 +382,6 @@ int xtimer_msg_receive_timeout64(msg_t *msg, uint64_t us); #endif #define XTIMER_MASK_SHIFTED XTIMER_TICKS_TO_USEC(XTIMER_MASK) -#ifndef XTIMER_USLEEP_UNTIL_OVERHEAD -/** - * @brief xtimer_usleep_until overhead value - * - * This value specifies the time a xtimer_usleep_until will be late - * if uncorrected. - * - * This is supposed to be defined per-device in e.g., periph_conf.h. - */ -#define XTIMER_USLEEP_UNTIL_OVERHEAD 10 -#endif - #if XTIMER_MASK extern volatile uint32_t _high_cnt; #endif From 405811da2bc7a3fdc9fa544d318781d6fcc82adf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Sat, 3 Oct 2015 22:31:39 +0200 Subject: [PATCH 2/2] native: remove unused XTIMER_USLEEP_UNTIL_OVERHEAD --- cpu/native/include/periph_conf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/cpu/native/include/periph_conf.h b/cpu/native/include/periph_conf.h index 55fb32f781..6788dcea48 100644 --- a/cpu/native/include/periph_conf.h +++ b/cpu/native/include/periph_conf.h @@ -53,7 +53,6 @@ * @{ */ #define XTIMER_OVERHEAD 14 -#define XTIMER_USLEEP_UNTIL_OVERHEAD 1 /* timer_set_absolute() has a high margin for possible underflow if set with * value not far in the future. To prevent this, we set high backoff values