1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #17414 from fjmolinas/pr_ztimer64_init

sys/ztimer64: default select ztimer64_init
This commit is contained in:
Kaspar Schleiser 2021-12-16 15:11:46 +01:00 committed by GitHub
commit eb72086e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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