git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@8830 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2016-02-06 10:45:17 +00:00
parent d25a2b7e97
commit 7afcf9acac
4 changed files with 9 additions and 3 deletions

View File

@ -48,7 +48,7 @@
/** /**
* @brief Kernel version string. * @brief Kernel version string.
*/ */
#define CH_KERNEL_VERSION "3.1.1" #define CH_KERNEL_VERSION "3.1.2"
/** /**
* @brief Kernel version major number. * @brief Kernel version major number.
@ -63,7 +63,7 @@
/** /**
* @brief Kernel version patch number. * @brief Kernel version patch number.
*/ */
#define CH_KERNEL_PATCH 1 #define CH_KERNEL_PATCH 2
/** @} */ /** @} */
/* Core headers.*/ /* Core headers.*/

View File

@ -128,6 +128,12 @@ void chSysInit(void) {
adjacent to its stack area.*/ adjacent to its stack area.*/
currp->p_stklimit = &__main_thread_stack_base__; currp->p_stklimit = &__main_thread_stack_base__;
#endif #endif
#if CH_DBG_STATISTICS == TRUE
/* Starting measurement for this thread.*/
chTMStartMeasurementX(&currp->p_stats);
#endif
chSysEnable(); chSysEnable();
#if CH_CFG_USE_REGISTRY == TRUE #if CH_CFG_USE_REGISTRY == TRUE

View File

@ -124,7 +124,6 @@ thread_t *_thread_init(thread_t *tp, tprio_t prio) {
#endif #endif
#if CH_DBG_STATISTICS == TRUE #if CH_DBG_STATISTICS == TRUE
chTMObjectInit(&tp->p_stats); chTMObjectInit(&tp->p_stats);
chTMStartMeasurementX(&tp->p_stats);
#endif #endif
#if defined(CH_CFG_THREAD_INIT_HOOK) #if defined(CH_CFG_THREAD_INIT_HOOK)
CH_CFG_THREAD_INIT_HOOK(tp); CH_CFG_THREAD_INIT_HOOK(tp);

View File

@ -73,6 +73,7 @@
***************************************************************************** *****************************************************************************
*** 16.1.3 *** *** 16.1.3 ***
- VAR: Fixed missing time convesion in lwIP arch module (bug #697).
- VAR: Fixed missing time convesion in lwIP arch module (bug #696, again). - VAR: Fixed missing time convesion in lwIP arch module (bug #696, again).
*** 16.1.2 *** *** 16.1.2 ***