Made debug variables initialization explicit.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8775 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
b8dfd95a2e
commit
f327f60307
|
@ -98,6 +98,10 @@ void chSysInit(void) {
|
||||||
port_init();
|
port_init();
|
||||||
_scheduler_init();
|
_scheduler_init();
|
||||||
_vt_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
|
#if CH_CFG_USE_TM == TRUE
|
||||||
_tm_init();
|
_tm_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue