Made debug variables initialization explicit.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8775 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
Giovanni Di Sirio 2016-01-16 17:32:44 +00:00
parent b8dfd95a2e
commit f327f60307
1 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,10 @@ void chSysInit(void) {
port_init();
_scheduler_init();
_vt_init();
#if CH_DBG_SYSTEM_STATE_CHECK == TRUE
ch.dbg.isr_cnt = (cnt_t)0;
ch.dbg.lock_cnt = (cnt_t)0;
#endif
#if CH_CFG_USE_TM == TRUE
_tm_init();
#endif