Fixed missing CH_ prefix in filler constants.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3215 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
cbcbaa0efe
commit
68ae8aa1bc
|
@ -132,10 +132,10 @@ Thread *chThdCreateFromHeap(MemoryHeap *heapp, size_t size,
|
||||||
#if CH_DBG_FILL_THREADS
|
#if CH_DBG_FILL_THREADS
|
||||||
_thread_memfill((uint8_t *)wsp,
|
_thread_memfill((uint8_t *)wsp,
|
||||||
(uint8_t *)wsp + sizeof(Thread),
|
(uint8_t *)wsp + sizeof(Thread),
|
||||||
THREAD_FILL_VALUE);
|
CH_THREAD_FILL_VALUE);
|
||||||
_thread_memfill((uint8_t *)wsp + sizeof(Thread),
|
_thread_memfill((uint8_t *)wsp + sizeof(Thread),
|
||||||
(uint8_t *)wsp + size,
|
(uint8_t *)wsp + size,
|
||||||
STACK_FILL_VALUE);
|
CH_STACK_FILL_VALUE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
chSysLock();
|
chSysLock();
|
||||||
|
@ -183,10 +183,10 @@ Thread *chThdCreateFromMemoryPool(MemoryPool *mp, tprio_t prio,
|
||||||
#if CH_DBG_FILL_THREADS
|
#if CH_DBG_FILL_THREADS
|
||||||
_thread_memfill((uint8_t *)wsp,
|
_thread_memfill((uint8_t *)wsp,
|
||||||
(uint8_t *)wsp + sizeof(Thread),
|
(uint8_t *)wsp + sizeof(Thread),
|
||||||
THREAD_FILL_VALUE);
|
CH_THREAD_FILL_VALUE);
|
||||||
_thread_memfill((uint8_t *)wsp + sizeof(Thread),
|
_thread_memfill((uint8_t *)wsp + sizeof(Thread),
|
||||||
(uint8_t *)wsp + mp->mp_object_size,
|
(uint8_t *)wsp + mp->mp_object_size,
|
||||||
STACK_FILL_VALUE);
|
CH_STACK_FILL_VALUE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
chSysLock();
|
chSysLock();
|
||||||
|
|
Loading…
Reference in New Issue