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

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

commit a8d7cfb0c69ec5f507de723a4b8dd2cce5ad3d6a
Author: raiden00pl <[email protected]>
AuthorDate: Thu Oct 22 14:47:23 2026 +0200

    drivers/wireless/xbee: fix nxstyle errors
    
    Fix the nxstyle errors in the files changed by the next commits.
    
    Assisted-by: Claude Code
    Signed-off-by: raiden00pl <[email protected]>
---
 drivers/wireless/ieee802154/xbee/xbee.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/drivers/wireless/ieee802154/xbee/xbee.c 
b/drivers/wireless/ieee802154/xbee/xbee.c
index 5a26b7456f2..11d5fa0eba5 100644
--- a/drivers/wireless/ieee802154/xbee/xbee.c
+++ b/drivers/wireless/ieee802154/xbee/xbee.c
@@ -265,7 +265,7 @@ static void xbee_attnworker(FAR void *arg)
                           iob->io_flink = iob_tryalloc(false);
 
                           iob = iob->io_flink;
-                       }
+                        }
                       else
                         {
                           wlwarn("invalid checksum on incoming API frame. "
@@ -338,7 +338,7 @@ static void xbee_attnworker(FAR void *arg)
               iob = iob->io_flink;
             }
 
-           iob->io_flink = iobhead;
+          iob->io_flink = iobhead;
         }
     }
 
@@ -1143,6 +1143,7 @@ static void xbee_lockupcheck_timeout(wdparm_t arg)
 static void xbee_lockupcheck_worker(FAR void *arg)
 {
   FAR struct xbee_priv_s *priv = (FAR struct xbee_priv_s *)arg;
+
   DEBUGASSERT(priv != NULL);
   wlinfo("Issuing query to detect lockup\n");
   xbee_query_chan(priv);
@@ -1168,6 +1169,7 @@ static void xbee_lockupcheck_worker(FAR void *arg)
 static void xbee_backup_worker(FAR void *arg)
 {
   FAR struct xbee_priv_s *priv = (FAR struct xbee_priv_s *)arg;
+
   DEBUGASSERT(priv != NULL);
   xbee_save_params(priv);
 }
@@ -1409,7 +1411,7 @@ void xbee_send_apiframe(FAR struct xbee_priv_s *priv,
 
                           iob->io_flink = iob_tryalloc(false);
                           iob = iob->io_flink;
-                       }
+                        }
                       else
                         {
                           wlwarn("invalid checksum on incoming API frame. "
@@ -1477,7 +1479,7 @@ void xbee_send_apiframe(FAR struct xbee_priv_s *priv,
               iob = iob->io_flink;
             }
 
-           iob->io_flink = iobhead;
+          iob->io_flink = iobhead;
         }
     }
 
@@ -1731,7 +1733,10 @@ void xbee_set_boostmode(FAR struct xbee_priv_s *priv, 
uint8_t mode)
 {
   uint8_t frame[9];
 
-  if (mode > 1) return;
+  if (mode > 1)
+    {
+      return;
+    }
 
   priv->boostmode = mode;
 

Reply via email to