Skip to content

Commit

Permalink
Merge pull request #18006 from kfessel/bp-18004
Browse files Browse the repository at this point in the history
ztimer64/xtimer_compat: fix ztimer64_msg_receive_timeout() use ZTIMER_USEC
  • Loading branch information
kaspar030 authored Apr 26, 2022
2 parents 26be80f + acd99ab commit bd24c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/include/ztimer64/xtimer_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd24c5a

Please sign in to comment.