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-d51de3d6d3f4
This commit is contained in:
gdisirio 2014-01-05 11:06:14 +00:00
parent 961157d810
commit b8774f299a
1 changed files with 1 additions and 0 deletions

View File

@ -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)