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:
commit
eb30b0b2e2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user