Fix to the fix...

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2201 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2010-09-25 16:02:00 +00:00
parent cb63381502
commit ad95e527ec
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ Thread *chThdCreateFromMemoryPool(MemoryPool *mp, tprio_t prio,
#if CH_DBG_FILL_THREADS #if CH_DBG_FILL_THREADS
memfill((uint8_t *)wsp, (uint8_t *)wsp + sizeof(Thread), THREAD_FILL_VALUE); memfill((uint8_t *)wsp, (uint8_t *)wsp + sizeof(Thread), THREAD_FILL_VALUE);
memfill((uint8_t *)wsp + sizeof(Thread), memfill((uint8_t *)wsp + sizeof(Thread),
(uint8_t *)wsp + size, STACK_FILL_VALUE); (uint8_t *)wsp + mp->mp_object_size, STACK_FILL_VALUE);
#endif #endif
chSysLock(); chSysLock();