diff options
-rw-r--r-- | os/nil/src/nil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/nil/src/nil.c b/os/nil/src/nil.c index 4d84d654c..6de52c17e 100644 --- a/os/nil/src/nil.c +++ b/os/nil/src/nil.c @@ -163,7 +163,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);
}
}
|