1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 15:31:17 +01:00

Merge pull request #18004 from moguilevski/RIOT_ztimer_20220425

sys/include/ztimer64: fix for xtimer_msg_receive_timeout64 in xtimer_compat.h
This commit is contained in:
benpicco 2022-04-26 07:59:10 +02:00 committed by GitHub
commit a771b4fa3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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