diff options
-rw-r--r-- | src/chthreads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chthreads.c b/src/chthreads.c index 9944bedb0..22c815683 100644 --- a/src/chthreads.c +++ b/src/chthreads.c @@ -182,7 +182,7 @@ void chThdResume(Thread *tp) { chSysLock();
if ((tp)->p_state == PRSUSPENDED)
- chSchWakeupS((tp), RDY_OK);
+ chSchWakeupS(tp, RDY_OK);
chSysUnlock();
}
|