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 6624d3bc7d6a3fb1cf4069e4e04b4126fd22cd70
Author: Marco Casaroli <[email protected]>
AuthorDate: Wed Oct 28 16:27:47 2026 +0100

    apps: Fix the old nxstyle and spelling errors of nine headers.
    
    The next commits change these headers, and checkpatch checks the whole
    of each changed file:
    
    - curspriv.h, term.h and pdcnuttx.h: the file path in the header
      comment was wrong.
    - curspriv.h: a comment had a continuation line without an asterisk.
    - pdcnuttx.h and tiff_internal.h: two section names were not for
      headers.
    - music_scale.h, tiff_internal.h, nxscope_proto.h, lte_fwupdate.h,
      webclient.h and nxrecorder.h: spelling.
    
    No change of the code that the compiler sees.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 examples/fmsynth/music_scale.h          | 2 +-
 graphics/pdcurs34/include/curspriv.h    | 7 ++++---
 graphics/pdcurs34/include/term.h        | 2 +-
 graphics/pdcurs34/nuttx/pdcnuttx.h      | 6 +++---
 graphics/tiff/tiff_internal.h           | 4 ++--
 include/logging/nxscope/nxscope_proto.h | 2 +-
 include/lte/lte_fwupdate.h              | 2 +-
 include/netutils/webclient.h            | 2 +-
 include/system/nxrecorder.h             | 2 +-
 9 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/examples/fmsynth/music_scale.h b/examples/fmsynth/music_scale.h
index afb5a384a..08ad1d5b9 100644
--- a/examples/fmsynth/music_scale.h
+++ b/examples/fmsynth/music_scale.h
@@ -24,7 +24,7 @@
 #define __APPS_EXAMPLES_FMSYNTH_UTILS_MUSIC_SCALE_H
 
 /****************************************************************************
- * Pre-processor definisions
+ * Pre-processor Definitions
  ****************************************************************************/
 
 #define MUSIC_SCALE_C  (0)
diff --git a/graphics/pdcurs34/include/curspriv.h 
b/graphics/pdcurs34/include/curspriv.h
index 68e702bf4..949cd0e15 100644
--- a/graphics/pdcurs34/include/curspriv.h
+++ b/graphics/pdcurs34/include/curspriv.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * apps/graphics/pdcurses/curspriv.h
+ * apps/graphics/pdcurs34/include/curspriv.h
  *
  * SPDX-License-Identifier: Apache-2.0
  *
@@ -71,8 +71,9 @@
 
 #define DIVROUND(num, divisor) ((num) + ((divisor) >> 1)) / (divisor)
 
-#define PDC_CLICK_PERIOD 150  /* time to wait for a click, if
-                                 not set by mouseinterval() */
+/* Time to wait for a click, if not set by mouseinterval() */
+
+#define PDC_CLICK_PERIOD 150
 
 /****************************************************************************
  * Public Types
diff --git a/graphics/pdcurs34/include/term.h b/graphics/pdcurs34/include/term.h
index 06230d368..3a8a64ad3 100644
--- a/graphics/pdcurs34/include/term.h
+++ b/graphics/pdcurs34/include/term.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * apps/graphics/pdcurses/term.h
+ * apps/graphics/pdcurs34/include/term.h
  *
  * SPDX-License-Identifier: Apache-2.0
  *
diff --git a/graphics/pdcurs34/nuttx/pdcnuttx.h 
b/graphics/pdcurs34/nuttx/pdcnuttx.h
index 40c085848..6643d8471 100644
--- a/graphics/pdcurs34/nuttx/pdcnuttx.h
+++ b/graphics/pdcurs34/nuttx/pdcnuttx.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * apps/graphics/nuttx/pdcnuttx.h
+ * apps/graphics/pdcurs34/nuttx/pdcnuttx.h
  *
  * SPDX-License-Identifier: Apache-2.0
  *
@@ -182,7 +182,7 @@
 #define PDCURSES_ALIGN_DOWN(n) (((n) & ~PDCURSES_BPP_MASK) >> 3)
 
 /****************************************************************************
- * Private Types
+ * Public Types
  ****************************************************************************/
 
 #if defined(__cplusplus)
@@ -338,7 +338,7 @@ struct pdc_termscreen_s
 EXTERN struct pdc_fbstate_s g_pdc_fbstate;
 
 /****************************************************************************
- * Public Functions
+ * Public Function Prototypes
  ****************************************************************************/
 
 /****************************************************************************
diff --git a/graphics/tiff/tiff_internal.h b/graphics/tiff/tiff_internal.h
index b76615145..45e962a4f 100644
--- a/graphics/tiff/tiff_internal.h
+++ b/graphics/tiff/tiff_internal.h
@@ -82,7 +82,7 @@ extern "C"
 #endif
 
 /****************************************************************************
- * Public Functions
+ * Public Function Prototypes
  ****************************************************************************/
 
 /****************************************************************************
@@ -178,7 +178,7 @@ int tiff_putstring(int fd, FAR const char *string, int len);
  * Name: tiff_wordalign
  *
  * Description:
- *  Pad a file with zeros as necessary to achieve word alignament.
+ *  Pad a file with zeros as necessary to achieve word alignment.
  *
  * Input Parameters:
  *   fd - File descriptor to be used.
diff --git a/include/logging/nxscope/nxscope_proto.h 
b/include/logging/nxscope/nxscope_proto.h
index 109aa91c0..de748d36f 100644
--- a/include/logging/nxscope/nxscope_proto.h
+++ b/include/logging/nxscope/nxscope_proto.h
@@ -46,7 +46,7 @@ extern "C"
 struct nxscope_frame_s
 {
   uint8_t      id;              /* Frame id */
-  size_t       drop;            /* Data to be droped from recv buffer */
+  size_t       drop;            /* Data to be dropped from recv buffer */
   size_t       dlen;            /* Data len (without header and footer) */
   FAR uint8_t *data;            /* A pointer to a frame data */
 };
diff --git a/include/lte/lte_fwupdate.h b/include/lte/lte_fwupdate.h
index eff749909..1cb8dba0f 100644
--- a/include/lte/lte_fwupdate.h
+++ b/include/lte/lte_fwupdate.h
@@ -60,7 +60,7 @@ extern "C"
  * Public Function Prototypes
  ****************************************************************************/
 
-/* Initialze injection delta image to LTE modem.
+/* Initialize injection delta image to LTE modem.
  *
  * Initialize LTE modem delta image injection with some data of top of delta
  * image.
diff --git a/include/netutils/webclient.h b/include/netutils/webclient.h
index 58188c941..b8089eb11 100644
--- a/include/netutils/webclient.h
+++ b/include/netutils/webclient.h
@@ -192,7 +192,7 @@ typedef CODE int (*webclient_header_callback_t)(FAR const 
char *line,
  * "offset" of the data. (similarly to fread(3))
  *
  * An implementation of this callback should perform either of
- * the followings:
+ * the following:
  *
  * - Fill the buffer (specified by buffer and *sizep) with the data
  *
diff --git a/include/system/nxrecorder.h b/include/system/nxrecorder.h
index c80d2ee15..9b5e75e98 100644
--- a/include/system/nxrecorder.h
+++ b/include/system/nxrecorder.h
@@ -253,7 +253,7 @@ int nxrecorder_resume(FAR struct nxrecorder_s *precorder);
  *   bps        - bit width
  *
  * Returned Value:
- *   OK if file writed successfully.
+ *   OK if file written successfully.
  *
  ****************************************************************************/
 

Reply via email to