diff options
Diffstat (limited to 'os/nil/src')
-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 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 {
|