diff --git a/sys/ztimer/convert.c b/sys/ztimer/convert.c index 19232f4016..921a478155 100644 --- a/sys/ztimer/convert.c +++ b/sys/ztimer/convert.c @@ -46,6 +46,9 @@ void ztimer_convert_init(ztimer_convert_t *ztimer_convert, .arg = ztimer_convert, }, .super.max_value = max_value, +# ifdef MODULE_PM_LAYERED + .super.block_pm_mode = ZTIMER_CLOCK_NO_REQUIRED_PM_MODE, +# endif }; *ztimer_convert = tmp; diff --git a/sys/ztimer/convert_frac.c b/sys/ztimer/convert_frac.c index c614b3c6a0..0d3dc66ecd 100644 --- a/sys/ztimer/convert_frac.c +++ b/sys/ztimer/convert_frac.c @@ -111,4 +111,7 @@ void ztimer_convert_frac_init(ztimer_convert_frac_t *self, self->round = freq_self / freq_lower; self->super.super.max_value = UINT32_MAX; } +#ifdef MODULE_PM_LAYERED + self->super.super.block_pm_mode = ZTIMER_CLOCK_NO_REQUIRED_PM_MODE; +#endif }