[riot-notifications] [RIOT-OS/RIOT] ztimer: pull in xtimer_on_ztimer only if ztimer_periph_timer is used (#14036)
notifications at github.com
Tue May 19 12:12:35 CEST 2020
@kaspar030 commented on this pull request.
> @@ -23,11 +23,11 @@ ifneq (,$(filter ztimer,$(USEMODULE)))
-# unless ztimer_xtimer_compat is used, make xtimer use ztimer as backend.
-ifneq (,$(filter ztimer,$(USEMODULE)))
+# unless ztimer_xtimer_compat is used, make xtimer use ztimer_usec as backend.
+ifneq (,$(filter ztimer_periph_timer,$(USEMODULE)))
I think this is alright. I intentionally tried to minimize xtimer code (drop xtimers extension code) when ztimer is used, but that behavior can still be had by also using ztimer_msec.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications