git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15503 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2022-03-14 08:21:34 +00:00
parent c622d52f6b
commit 7c3b54d051
2 changed files with 7 additions and 1 deletions

View File

@ -102,6 +102,10 @@ static inline void __stats_object_init(kernel_stats_t *ksp) {
ksp->n_ctxswc = (ucnt_t)0;
chTMObjectInit(&ksp->m_crit_thd);
chTMObjectInit(&ksp->m_crit_isr);
/* The initialization code will stop the measurement on the final call
to chSysUnlock().*/
chTMStartMeasurementX(&ksp->m_crit_thd);
}
#else /* CH_DBG_STATISTICS == FALSE */

View File

@ -121,9 +121,11 @@
ARMv7-M and ARMv8-M-ML.
- NEW: On STM32WBxx added a check on STM32_LSI_ENABLE required by IWDG.
- NEW: Added SPIv2 support also to STM32WB and STM32WL.
- FIX: Reverted bug #1100 (backported to 20.3.5)(backported to 21.11.2).
- FIX: Fixed invalid cumulative time stat in RT (bug #1222)
(backported to 21.11.2).
- FIX: Fixed incorrect type cast in TIME_I2US() (bug #1221)
(backported to 20.3.5)(backported to 21.11.2).
- FIX: Reverted bug #1100 (backported to 20.3.5)(backported to 21.11.2).
- FIX: Fixed missing clock disable for STM32 OCTOSPI2 (bug #1220)
(backported to 20.3.5)(backported to 21.11.2).
- FIX: Fixed wrong condition in STM32 sio_lld_read() function (bug #1219)