fix a bug in the kernel obj verify function

This commit is contained in:
mculover666
2021-03-14 16:40:14 +08:00
parent ef489bf51f
commit 0c2af37b96
11 changed files with 3 additions and 21 deletions

View File

@@ -23,9 +23,7 @@ __CDECLS_BEGIN
#if TOS_CFG_SEM_EN > 0u
typedef struct k_sem_st {
#if TOS_CFG_OBJECT_VERIFY_EN > 0u
knl_obj_t knl_obj;
#endif
pend_obj_t pend_obj;
k_sem_cnt_t count;