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

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

commit 17edaf458fe69e70bf8ec10230ef122488f4002c
Author: Alan Carvalho de Assis <[email protected]>
AuthorDate: Thu Sep 24 19:00:56 2026 -0300

    boards/sim: Fix coding style to let the PR pass
    
    Recently the nxstyle became more restrictive so it got some issues
    that used to be ignored in the pass.
    
    Signed-off-by: Alan C. Assis <[email protected]>
---
 boards/sim/sim/sim/src/sim_bringup.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/boards/sim/sim/sim/src/sim_bringup.c 
b/boards/sim/sim/sim/src/sim_bringup.c
index 278ab4c698c..9dc6bcf21d0 100644
--- a/boards/sim/sim/sim/src/sim_bringup.c
+++ b/boards/sim/sim/sim/src/sim_bringup.c
@@ -179,6 +179,7 @@ int sim_bringup(void)
       /* Initialized the RAM MTD */
 
       struct mtd_dev_s *mtd = rammtd_initialize(ramstart, 128 * 1024);
+
       if (mtd == NULL)
         {
           syslog(LOG_ERR, "ERROR: rammtd_initialize failed\n");
@@ -572,6 +573,7 @@ int sim_bringup(void)
   /* Set up a MAC address for the RNDIS device. */
 
   uint8_t mac[6];
+
   mac[0] = (CONFIG_SIM_RNDIS_MACADDR >> (8 * 5)) & 0xff;
   mac[1] = (CONFIG_SIM_RNDIS_MACADDR >> (8 * 4)) & 0xff;
   mac[2] = (CONFIG_SIM_RNDIS_MACADDR >> (8 * 3)) & 0xff;

Reply via email to