rusEfi lock/unlock hook
This commit is contained in:
parent
8d412f9d59
commit
c9bdab419a
|
@ -61,8 +61,8 @@
|
|||
/*===========================================================================*/
|
||||
|
||||
#if CH_DBG_SYSTEM_STATE_CHECK == TRUE
|
||||
#define _dbg_enter_lock() (ch.dbg.lock_cnt = (cnt_t)1)
|
||||
#define _dbg_leave_lock() (ch.dbg.lock_cnt = (cnt_t)0)
|
||||
#define _dbg_enter_lock() (ch.dbg.lock_cnt = (cnt_t)1; ON_LOCK_HOOK;)
|
||||
#define _dbg_leave_lock() (ON_UNLOCK_HOOK; ch.dbg.lock_cnt = (cnt_t)0;)
|
||||
#endif
|
||||
|
||||
/* When the state checker feature is disabled then the following functions
|
||||
|
|
Loading…
Reference in New Issue