You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/01/16 07:07:53 UTC
[incubator-nuttx-apps] branch master updated: Fix boarctl typos
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 374cb92 Fix boarctl typos
374cb92 is described below
commit 374cb9230afb6452cc9a744804de394835652ca9
Author: Norman Rasmussen <no...@rasmussen.co.za>
AuthorDate: Sat Jan 15 20:42:35 2022 -0800
Fix boarctl typos
---
nshlib/nsh_fscmds.c | 2 +-
nshlib/nsh_syscmds.c | 6 +++---
system/usbmsc/README.md | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/nshlib/nsh_fscmds.c b/nshlib/nsh_fscmds.c
index c92af53..df12216 100644
--- a/nshlib/nsh_fscmds.c
+++ b/nshlib/nsh_fscmds.c
@@ -1447,7 +1447,7 @@ int cmd_mkrd(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
ret = boardctl(BOARDIOC_MKRD, (uintptr_t)&desc);
if (ret < 0)
{
- nsh_error(vtbl, g_fmtcmdfailed, argv[0], "boarctl(BOARDIOC_MKRD)",
+ nsh_error(vtbl, g_fmtcmdfailed, argv[0], "boardctl(BOARDIOC_MKRD)",
NSH_ERRNO_OF(-ret));
return ERROR;
}
diff --git a/nshlib/nsh_syscmds.c b/nshlib/nsh_syscmds.c
index 391a864..c6cdf5b 100644
--- a/nshlib/nsh_syscmds.c
+++ b/nshlib/nsh_syscmds.c
@@ -157,7 +157,7 @@ int cmd_shutdown(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
boardctl(BOARDIOC_POWEROFF, EXIT_SUCCESS);
#endif
- /* boarctl() will not return in any case. It if does, it means that
+ /* boardctl() will not return in any case. It if does, it means that
* there was a problem with the shutdown/resaet operation.
*/
@@ -280,7 +280,7 @@ int cmd_poweroff(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
boardctl(BOARDIOC_POWEROFF, EXIT_SUCCESS);
}
- /* boarctl() will not return in any case. It if does, it means that
+ /* boardctl() will not return in any case. It if does, it means that
* there was a problem with the shutdown operation.
*/
@@ -310,7 +310,7 @@ int cmd_reboot(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
boardctl(BOARDIOC_RESET, EXIT_SUCCESS);
}
- /* boarctl() will not return in this case. It if does, it means that
+ /* boardctl() will not return in this case. It if does, it means that
* there was a problem with the reset operation.
*/
diff --git a/system/usbmsc/README.md b/system/usbmsc/README.md
index bfce42d..da85f8b 100644
--- a/system/usbmsc/README.md
+++ b/system/usbmsc/README.md
@@ -8,7 +8,7 @@ board-specific logic must provide the function:
void board_usbmsc_initialize(void);
```
-This function will be called by the `system/usbmsc` indirectly via the `boarctl`
+This function will be called by the `system/usbmsc` indirectly via the `boardctl`
`BOARDIOC_USBDEV_CONTROL` command in order to do the actual registration of the
block device drivers. For examples of the implementation of
`board_usbmsc_initialize()` see