aboutsummaryrefslogtreecommitdiffstats
path: root/src/chevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chevents.c')
-rw-r--r--src/chevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chevents.c b/src/chevents.c
index 75ac8b322..93f28f0ec 100644
--- a/src/chevents.c
+++ b/src/chevents.c
@@ -114,7 +114,7 @@ void chEvtSendI(EventSource *esp) {
tp->p_epending |= EventMask(elp->el_id);
if ((tp->p_state == PRWTEVENT) && (tp->p_epending & tp->p_ewmask))
- chSchReadyI(tp, RDY_OK);
+ chSchReadyI(tp)->p_rdymsg = RDY_OK;
elp = elp->el_next;
}
}