mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ztimer_xtimer_compat: warn if backend != ztimer_usec
This commit is contained in:
parent
be2c455c22
commit
18c1754d85
@ -2,6 +2,10 @@
|
||||
# ztimer's compatibility wrapper
|
||||
ifneq (,$(filter ztimer_xtimer_compat,$(USEMODULE)))
|
||||
PSEUDOMODULES += xtimer
|
||||
|
||||
ifeq (,$(filter ztimer_usec,$(USEMODULE)))
|
||||
$(info $(COLOR_YELLOW)WARNING! xtimer compat without ztimer_usec may be inaccurate$(COLOR_RESET))
|
||||
endif
|
||||
endif
|
||||
|
||||
MODULES_ZTIMER_ON_RTT_CONFLICT = rtt_rtc gnrc_lwmac gnrc_gomach
|
||||
|
Loading…
Reference in New Issue
Block a user