This is an automated email from the ASF dual-hosted git repository. simbit18 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 8cd9e9acc23d35a8bcc5f38e7f49cbb05951675e Author: wangjianyu3 <[email protected]> AuthorDate: Mon Mar 16 20:31:54 2026 +0800 examples/camera: fix spelling errors Fix typos found by codespell: - camera_bkgd.c: defaul -> default - camera_main.c: memorys -> memories (2 occurrences) - camera_main.c: freame -> frame - camera_main.c: valiable -> variable Signed-off-by: wangjianyu3 <[email protected]> --- examples/camera/camera_bkgd.c | 2 +- examples/camera/camera_main.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/camera/camera_bkgd.c b/examples/camera/camera_bkgd.c index 4703b1ea5..aa1464471 100644 --- a/examples/camera/camera_bkgd.c +++ b/examples/camera/camera_bkgd.c @@ -249,7 +249,7 @@ int nximage_initialize(void) } /* Start a separate thread to listen for server events. - * For simplicity, use defaul thread attribute. + * For simplicity, use default thread attribute. */ ret = pthread_create(&thread, NULL, nximage_listener, NULL); diff --git a/examples/camera/camera_main.c b/examples/camera/camera_main.c index 32ad1a460..a342008b5 100644 --- a/examples/camera/camera_main.c +++ b/examples/camera/camera_main.c @@ -534,7 +534,7 @@ int main(int argc, FAR char *argv[]) * Set FULLHD size in ISX012 case, QUADVGA size in ISX019 case or other * image sensors, * Number of frame buffers is defined as STILL_BUFNUM(1). - * And all allocated memorys are VIDIOC_QBUFed. + * And all allocated memories are VIDIOC_QBUFed. */ if (capture_num != 0 && capture_type == V4L2_BUF_TYPE_STILL_CAPTURE) @@ -580,9 +580,9 @@ int main(int argc, FAR char *argv[]) * order from the captured frame buffer and a new camera image is * recaptured. * - * Allocate freame buffers for QVGA RGB565 size (320x240x2=150KB). + * Allocate frame buffers for QVGA RGB565 size (320x240x2=150KB). * Number of frame buffers is defined as VIDEO_BUFNUM(3). - * And all allocated memorys are VIDIOC_QBUFed. + * And all allocated memories are VIDIOC_QBUFed. */ ret = camera_prepare(v_fd, V4L2_BUF_TYPE_VIDEO_CAPTURE, @@ -603,7 +603,7 @@ int main(int argc, FAR char *argv[]) * * APP_STATE_UNDER_CAPTURE: * This state will start taking picture and store the image into files. - * Number of taking pictures is set capture_num valiable. + * Number of taking pictures is set capture_num variable. * It can be changed by command line argument. * After finishing taking pictures, the state will be changed to * APP_STATE_AFTER_CAPTURE.
