diff options
Diffstat (limited to 'os/rt/src/chdynamic.c')
-rw-r--r-- | os/rt/src/chdynamic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/src/chdynamic.c b/os/rt/src/chdynamic.c index 5f174eda7..5dbea6c7e 100644 --- a/os/rt/src/chdynamic.c +++ b/os/rt/src/chdynamic.c @@ -165,7 +165,7 @@ thread_t *chThdCreateFromHeap(memory_heap_t *heapp, size_t size, chSysLock();
tp = chThdCreateI(wsp, size, prio, pf, arg);
tp->p_flags = CH_FLAG_MODE_HEAP;
- chSchWakeupS(tp, RDY_OK);
+ chSchWakeupS(tp, MSG_OK);
chSysUnlock();
return tp;
}
@@ -217,7 +217,7 @@ thread_t *chThdCreateFromMemoryPool(memory_pool_t *mp, tprio_t prio, tp = chThdCreateI(wsp, mp->mp_object_size, prio, pf, arg);
tp->p_flags = CH_FLAG_MODE_MEMPOOL;
tp->p_mpool = mp;
- chSchWakeupS(tp, RDY_OK);
+ chSchWakeupS(tp, MSG_OK);
chSysUnlock();
return tp;
}
|