Fixed bug #697.
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:
parent
d25a2b7e97
commit
7afcf9acac
|
@ -48,7 +48,7 @@
|
|||
/**
|
||||
* @brief Kernel version string.
|
||||
*/
|
||||
#define CH_KERNEL_VERSION "3.1.1"
|
||||
#define CH_KERNEL_VERSION "3.1.2"
|
||||
|
||||
/**
|
||||
* @brief Kernel version major number.
|
||||
|
@ -63,7 +63,7 @@
|
|||
/**
|
||||
* @brief Kernel version patch number.
|
||||
*/
|
||||
#define CH_KERNEL_PATCH 1
|
||||
#define CH_KERNEL_PATCH 2
|
||||
/** @} */
|
||||
|
||||
/* Core headers.*/
|
||||
|
|
|
@ -128,6 +128,12 @@ void chSysInit(void) {
|
|||
adjacent to its stack area.*/
|
||||
currp->p_stklimit = &__main_thread_stack_base__;
|
||||
#endif
|
||||
|
||||
#if CH_DBG_STATISTICS == TRUE
|
||||
/* Starting measurement for this thread.*/
|
||||
chTMStartMeasurementX(&currp->p_stats);
|
||||
#endif
|
||||
|
||||
chSysEnable();
|
||||
|
||||
#if CH_CFG_USE_REGISTRY == TRUE
|
||||
|
|
|
@ -124,7 +124,6 @@ thread_t *_thread_init(thread_t *tp, tprio_t prio) {
|
|||
#endif
|
||||
#if CH_DBG_STATISTICS == TRUE
|
||||
chTMObjectInit(&tp->p_stats);
|
||||
chTMStartMeasurementX(&tp->p_stats);
|
||||
#endif
|
||||
#if defined(CH_CFG_THREAD_INIT_HOOK)
|
||||
CH_CFG_THREAD_INIT_HOOK(tp);
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 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).
|
||||
|
||||
*** 16.1.2 ***
|
||||
|
|
Loading…
Reference in New Issue