diff --git a/os/nil/src/nil.c b/os/nil/src/nil.c index 6de52c17e..7f1ee3516 100644 --- a/os/nil/src/nil.c +++ b/os/nil/src/nil.c @@ -193,7 +193,7 @@ void chSysTimerHandlerI(void) { if (NIL_THD_IS_WTSEM(tp)) tp->u1.semp->cnt++; else if (NIL_THD_IS_SUSP(tp)) - tp->u1.trp = NULL; + *tp->u1.trp = NULL; chSchReadyI(tp, MSG_TIMEOUT); } else {