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

Merge pull request #15792 from haukepetersen/fix_evtimer_moddep

sys/evtimer: fix module dependencies
This commit is contained in:
Martine Lenders 2021-01-19 12:45:09 +01:00 committed by GitHub
commit eb30b0b2e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1063,7 +1063,11 @@ ifneq (,$(filter ztimer% %ztimer,$(USEMODULE)))
endif
ifneq (,$(filter evtimer,$(USEMODULE)))
USEMODULE += xtimer
ifneq (,$(filter evtimer_on_ztimer,$(USEMODULE)))
USEMODULE += ztimer_msec
else
USEMODULE += xtimer
endif
endif
# handle xtimer's deps. Needs to be done *after* ztimer