assert: fix flags type, should be irqstate_t

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
Bowen Wang 2023-12-27 20:42:39 +08:00 committed by Xiang Xiao
parent fe0cd18cc5
commit 3bac449286
1 changed files with 1 additions and 1 deletions

View File

@ -514,8 +514,8 @@ void _assert(FAR const char *filename, int linenum,
#endif #endif
struct panic_notifier_s notifier_data; struct panic_notifier_s notifier_data;
struct utsname name; struct utsname name;
irqstate_t flags;
bool fatal = true; bool fatal = true;
int flags;
#if CONFIG_TASK_NAME_SIZE > 0 #if CONFIG_TASK_NAME_SIZE > 0
if (rtcb->group && !(rtcb->flags & TCB_FLAG_TTYPE_KERNEL)) if (rtcb->group && !(rtcb->flags & TCB_FLAG_TTYPE_KERNEL))