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

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

commit 7df4d187d7a9ab4d4c4202fe1a1ddf2b3706ac0b
Author: Junbo Zheng <[email protected]>
AuthorDate: Sat Oct 31 23:47:53 2026 +0800

    boards/arm/nrf53/thingy53: fix nxstyle brace alignment in ADXL362 case
    
    The CONFIG_SENSORS_ADXL362 block in nrf53_spi0select() was indented
    two spaces short of the sibling CONFIG_SENSORS_BMI270 block above,
    so the opening brace sat at column 7 instead of column 9. Re-indent
    the whole ADXL362 case body (brace, spiinfo call, comment, gpio_write,
    break, closing brace) by two spaces to match BMI270 and satisfy
    nxstyle.
    
        boards/arm/nrf53/thingy53/src/nrf53_spi.c:136:6: error: Bad left brace 
alignment
    
    Signed-off-by: Junbo Zheng <[email protected]>
---
 boards/arm/nrf53/thingy53/src/nrf53_spi.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/boards/arm/nrf53/thingy53/src/nrf53_spi.c 
b/boards/arm/nrf53/thingy53/src/nrf53_spi.c
index 5366c27eef8..04d3930335c 100644
--- a/boards/arm/nrf53/thingy53/src/nrf53_spi.c
+++ b/boards/arm/nrf53/thingy53/src/nrf53_spi.c
@@ -133,15 +133,15 @@ void nrf53_spi1select(struct spi_dev_s *dev, uint32_t 
devid,
 
 #ifdef CONFIG_SENSORS_ADXL362
       case SPIDEV_ACCELEROMETER(1):
-      {
-        spiinfo("ADXL362 device %s\n",
-                selected ? "asserted" : "de-asserted");
+        {
+          spiinfo("ADXL362 device %s\n",
+                  selected ? "asserted" : "de-asserted");
 
-        /* Set the GPIO low to select and high to de-select */
+          /* Set the GPIO low to select and high to de-select */
 
-        nrf53_gpio_write(GPIO_ADXL362_CS, !selected);
-        break;
-      }
+          nrf53_gpio_write(GPIO_ADXL362_CS, !selected);
+          break;
+        }
 #endif
 
       default:

Reply via email to