mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-27 20:30:41 +00:00
system/nxinit: fix unkown -> unknown typo in resetcause[]
codespell flagged this in PR #3751 CI: system/nxinit/init.c:119: unkown ==> unknown system/nxinit/init.c:130: unkown ==> unknown Both entries were introduced by the resetcause-for-triggers commit and are unrelated to the earlier nxstyle regression already discussed on the PR. Assisted-by: GitHubCopilot:claude-sonnet-5 Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
c91fe7bf01
commit
82eb73da76
1 changed files with 2 additions and 2 deletions
|
|
@ -116,7 +116,7 @@ static int init_boot_reason(FAR struct action_manager_s *am)
|
|||
{
|
||||
static FAR const char *const resetcause[] =
|
||||
{
|
||||
[BOARDIOC_RESETCAUSE_NONE] = "unkown",
|
||||
[BOARDIOC_RESETCAUSE_NONE] = "unknown",
|
||||
[BOARDIOC_RESETCAUSE_SYS_CHIPPOR] = "cold",
|
||||
[BOARDIOC_RESETCAUSE_SYS_RWDT] = "watchdog",
|
||||
[BOARDIOC_RESETCAUSE_SYS_BOR] = "undervoltage",
|
||||
|
|
@ -127,7 +127,7 @@ static int init_boot_reason(FAR struct action_manager_s *am)
|
|||
[BOARDIOC_RESETCAUSE_CPU_RWDT] = "watchdog",
|
||||
[BOARDIOC_RESETCAUSE_PIN] = "powerkey",
|
||||
[BOARDIOC_RESETCAUSE_LOWPOWER] = "lowpower",
|
||||
[BOARDIOC_RESETCAUSE_UNKOWN] = "unkown",
|
||||
[BOARDIOC_RESETCAUSE_UNKOWN] = "unknown",
|
||||
};
|
||||
|
||||
static FAR const char * const resetflag[] =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue