1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

Merge pull request #5057 from gebart/pr/usleep-until-overhead

sys/xtimer: Remove unused XTIMER_USLEEP_UNTIL_OVERHEAD
This commit is contained in:
Joakim Nohlgård 2016-03-14 09:56:46 +01:00
commit c2c0bc2d87
2 changed files with 0 additions and 13 deletions

View File

@ -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

View File

@ -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