From fc169b98cd5b3fc2b9f7a1d0787a77e143e1b9ee Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Tue, 1 Mar 2022 16:55:48 +0100 Subject: [PATCH] sys/trickle: if ztimer_xtimer_compat is used, use ztimer_msec If already using the compat layer then just use ztimer_msec otherwise the 64bit compat layer would be needed for this module --- sys/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/Makefile.dep b/sys/Makefile.dep index c42d9da876..55a81b1a7e 100644 --- a/sys/Makefile.dep +++ b/sys/Makefile.dep @@ -167,6 +167,9 @@ ifneq (,$(filter trickle,$(USEMODULE))) USEMODULE += random ifeq (,$(filter ztimer_msec,$(USEMODULE))) USEMODULE += xtimer + ifneq (,$(filter ztimer_xtimer_compat,$(USEMODULE))) + USEMODULE += ztimer_msec + endif endif endif