mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-17 10:23:29 +00:00
fix resetcause nsh command print
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
This commit is contained in:
parent
a6c986d516
commit
cc7653b8c7
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ int cmd_reset_cause(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
|||
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);
|
||||
return OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue