From f3e348dee05b22546780eb1d4cb832515e86386e Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Thu, 16 Dec 2021 12:28:00 +0100 Subject: [PATCH] sys/ztimer64: default select ztimer64_init --- sys/ztimer64/Makefile.dep | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sys/ztimer64/Makefile.dep b/sys/ztimer64/Makefile.dep index 30474c8a15..22dcb009d4 100644 --- a/sys/ztimer64/Makefile.dep +++ b/sys/ztimer64/Makefile.dep @@ -4,17 +4,22 @@ USEMODULE += ztimer USEMODULE += ztimer64 -ifneq (,$(filter ztimer64_usec,$(USEMODULE))) +ifneq (,$(filter auto_init_ztimer64,$(USEMODULE))) + USEMODULE += ztimer64_init +endif +ifneq (,$(filter ztimer64_%,$(USEMODULE))) DEFAULT_MODULE += auto_init_ztimer64 + DEFAULT_MODULE += ztimer64_init +endif + +ifneq (,$(filter ztimer64_usec,$(USEMODULE))) USEMODULE += ztimer_usec endif ifneq (,$(filter ztimer64_msec,$(USEMODULE))) - DEFAULT_MODULE += auto_init_ztimer64 USEMODULE += ztimer_msec endif ifneq (,$(filter ztimer64_sec,$(USEMODULE))) - DEFAULT_MODULE += auto_init_ztimer64 USEMODULE += ztimer_sec endif