assert: fix flags type, should be irqstate_t
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
parent
fe0cd18cc5
commit
3bac449286
|
@ -514,8 +514,8 @@ void _assert(FAR const char *filename, int linenum,
|
|||
#endif
|
||||
struct panic_notifier_s notifier_data;
|
||||
struct utsname name;
|
||||
irqstate_t flags;
|
||||
bool fatal = true;
|
||||
int flags;
|
||||
|
||||
#if CONFIG_TASK_NAME_SIZE > 0
|
||||
if (rtcb->group && !(rtcb->flags & TCB_FLAG_TTYPE_KERNEL))
|
||||
|
|
Loading…
Reference in New Issue