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 832f73426269c496b934e3686e8dc18226cdfedb
Author: raiden00pl <[email protected]>
AuthorDate: Thu Oct 22 17:47:04 2026 +0200

    wireless/ieee802154/i8sak: fix nxstyle errors
    
    Add the missing blank lines after the declarations in i8sak_main.c and
    align a case label in i8sak_reset.c.
    
    Assisted-by: Claude Code
    Signed-off-by: raiden00pl <[email protected]>
---
 wireless/ieee802154/i8sak/i8sak_main.c  | 4 ++++
 wireless/ieee802154/i8sak/i8sak_reset.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/wireless/ieee802154/i8sak/i8sak_main.c 
b/wireless/ieee802154/i8sak/i8sak_main.c
index 887be1b13..2b8017bf2 100644
--- a/wireless/ieee802154/i8sak/i8sak_main.c
+++ b/wireless/ieee802154/i8sak/i8sak_main.c
@@ -296,6 +296,7 @@ int i8sak_str2payload(FAR const char *str, FAR uint8_t *buf)
   while (str_len > 0)
     {
       int dat;
+
       if (sscanf(str, "%2x", &dat) == 1)
         {
           buf[i++] = dat;
@@ -353,6 +354,7 @@ long i8sak_str2long(FAR const char *str)
 uint8_t i8sak_str2luint8(FAR const char *str)
 {
   long value = i8sak_str2long(str);
+
   if (value < 0 || value > UINT8_MAX)
     {
       fprintf(stderr, "ERROR: 8-bit value out of range\n");
@@ -373,6 +375,7 @@ uint8_t i8sak_str2luint8(FAR const char *str)
 uint16_t i8sak_str2luint16(FAR const char *str)
 {
   long value = i8sak_str2long(str);
+
   if (value < 0 || value > UINT16_MAX)
     {
       fprintf(stderr, "ERROR: 16-bit value out of range\n");
@@ -934,6 +937,7 @@ int main(int argc, FAR char *argv[])
   for (i = 0; i < nitems(g_i8sak_commands); i++)
     {
       FAR const struct i8sak_command_s *cmd = &g_i8sak_commands[i];
+
       if (strcmp(argv[argind], cmd->name) == 0)
         {
           i8sakcmd = cmd;
diff --git a/wireless/ieee802154/i8sak/i8sak_reset.c 
b/wireless/ieee802154/i8sak/i8sak_reset.c
index f9f30ae57..d4279768e 100644
--- a/wireless/ieee802154/i8sak/i8sak_reset.c
+++ b/wireless/ieee802154/i8sak/i8sak_reset.c
@@ -70,7 +70,7 @@ void i8sak_reset_cmd(FAR struct i8sak_s *i8sak, int argc, FAR 
char *argv[])
             optind = -1;
             return;
 
-           case ':':
+          case ':':
             fprintf(stderr, "ERROR: missing argument\n");
 
             /* Must manually reset optind if we are going to exit early */

Reply via email to