From 17afe9cb1ffb1b934dff1df673c3954bbb72aacd Mon Sep 17 00:00:00 2001 From: Alexandre Moguilevski Date: Mon, 25 Apr 2022 17:12:11 +0200 Subject: [PATCH] sys/include/ztimer64: fix for xtimer_msg_receive_timeout64 in xtimer_compat.h --- sys/include/ztimer64/xtimer_compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/include/ztimer64/xtimer_compat.h b/sys/include/ztimer64/xtimer_compat.h index d55b58161a..2bb034f7d8 100644 --- a/sys/include/ztimer64/xtimer_compat.h +++ b/sys/include/ztimer64/xtimer_compat.h @@ -297,7 +297,7 @@ static inline void xtimer_set_msg64(xtimer_t *timer, uint64_t offset, static inline int xtimer_msg_receive_timeout64(msg_t *msg, uint64_t timeout) { - return ztimer64_msg_receive_timeout(ZTIMER64_SEC, msg, timeout); + return ztimer64_msg_receive_timeout(ZTIMER64_USEC, msg, timeout); } #endif