diff --git a/sys/include/xtimer.h b/sys/include/xtimer.h index e2a3d52cc36a6519ed916ccb5decf6623f473672..616e4a60e61957ee09227cea60561ff1f4581f5d 100644 --- a/sys/include/xtimer.h +++ b/sys/include/xtimer.h @@ -579,7 +579,11 @@ void xtimer_set_timeout_flag(xtimer_t *t, uint32_t timeout); #endif #ifndef XTIMER_SHIFT -#if (XTIMER_HZ == XTIMER_HZ_BASE) +#if (XTIMER_HZ == 32768ul) +/* No shift necessary, the conversion is not a power of two and is handled by + * functions in tick_conversion.h */ +#define XTIMER_SHIFT (0) +#elif (XTIMER_HZ == XTIMER_HZ_BASE) /** * @brief xtimer prescaler value *