diff --git a/sys/ztimer/core.c b/sys/ztimer/core.c index 23ad22cebb..d0c78ee929 100644 --- a/sys/ztimer/core.c +++ b/sys/ztimer/core.c @@ -281,6 +281,10 @@ static ztimer_t *_now_next(ztimer_clock_t *clock) } #endif } + else { + /* reset next pointer so ztimer_is_set() works */ + entry->next = NULL; + } return (ztimer_t *)entry; } else {