This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit f03cf7b350281d288541d8f32971e79c87ae3ae7
Author: Marco Casaroli <[email protected]>
AuthorDate: Mon Oct 19 00:07:48 2026 +0200

    examples/poll, graphics/twm4nx: Fix an indent and a typo.
    
    poll_listener.c has a printf() call one column too far right, and
    cinput.cxx spells REVISIT as REVIST in two comments.  tools/checkpatch.sh
    reports both.  No code change.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 examples/poll/poll_listener.c  | 4 ++--
 graphics/twm4nx/src/cinput.cxx | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/examples/poll/poll_listener.c b/examples/poll/poll_listener.c
index ce912357d..e662c7231 100644
--- a/examples/poll/poll_listener.c
+++ b/examples/poll/poll_listener.c
@@ -172,8 +172,8 @@ void *poll_listener(pthread_addr_t pvarg)
 
       if (pollin && nevents != ret)
         {
-           printf("poll_listener: ERROR found %d events, "
-                  "poll reported %d\n", nevents, ret);
+          printf("poll_listener: ERROR found %d events, "
+                 "poll reported %d\n", nevents, ret);
         }
 
       /* In any event, read until the pipe/serial  is empty */
diff --git a/graphics/twm4nx/src/cinput.cxx b/graphics/twm4nx/src/cinput.cxx
index a6486de07..2cbec3db1 100644
--- a/graphics/twm4nx/src/cinput.cxx
+++ b/graphics/twm4nx/src/cinput.cxx
@@ -240,7 +240,7 @@ int CInput::keyboardOpen(void)
 
               if (errcode == ENOENT || errcode == ENODEV)
                 {
-                  // REVIST: Can we inject a constant string here to let the
+                  // REVISIT: Can we inject a constant string here to let the
                   // user know that we are waiting for a USB keyboard to be
                   // connected?
 
@@ -316,7 +316,7 @@ inline int CInput::mouseOpen(void)
 
               if (errcode == ENOENT || errcode == ENODEV)
                 {
-                  // REVIST: Can we inject a constant string here to let the
+                  // REVISIT: Can we inject a constant string here to let the
                   // user know that we are waiting for a USB mouse to be
                   // connected?
 

Reply via email to