Fixed missing initialization of threads statistics block.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6605 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
961157d810
commit
b8774f299a
|
@ -125,6 +125,7 @@ thread_t *_thread_init(thread_t *tp, tprio_t prio) {
|
|||
tp->p_stklimit = (stkalign_t *)(tp + 1);
|
||||
#endif
|
||||
#if CH_DBG_STATISTICS || defined(__DOXYGEN__)
|
||||
chTMObjectInit(&tp->p_stats);
|
||||
chTMStartMeasurementX(&tp->p_stats);
|
||||
#endif
|
||||
#if defined(CH_CFG_THREAD_INIT_HOOK)
|
||||
|
|
Loading…
Reference in New Issue