fix resetcause nsh command print
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
This commit is contained in:
parent
a6c986d516
commit
cc7653b8c7
@ -334,7 +334,7 @@ int cmd_reset_cause(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
|||||||
return ERROR;
|
return ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
nsh_output(vtbl, "cause:0x%x, flag:0x" PRIx32 "\n",
|
nsh_output(vtbl, "cause:0x%x, flag:0x%" PRIx32 "\n",
|
||||||
cause.cause, cause.flag);
|
cause.cause, cause.flag);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user