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 2c93f9b967d4c234f342c952a82af32ba931545c
Author: Junbo Zheng <[email protected]>
AuthorDate: Sat Oct 31 23:47:52 2026 +0800

    boards/arm/nrf52/nrf52832-dk: fix nxstyle case label alignment
    
    The CONFIG_IEEE802154_MRF24J40 `case` label in nrf52_spi0select()
    was indented 4 spaces while the sibling `default:` label uses 6
    spaces, triggering nxstyle. Re-indent the case label to match.
    
        boards/arm/nrf52/nrf52832-dk/src/nrf52_spi.c:108:4: error: Bad alignment
    
    Signed-off-by: Junbo Zheng <[email protected]>
---
 boards/arm/nrf52/nrf52832-dk/src/nrf52_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/nrf52/nrf52832-dk/src/nrf52_spi.c 
b/boards/arm/nrf52/nrf52832-dk/src/nrf52_spi.c
index f20162949ca..87aa2472441 100644
--- a/boards/arm/nrf52/nrf52832-dk/src/nrf52_spi.c
+++ b/boards/arm/nrf52/nrf52832-dk/src/nrf52_spi.c
@@ -105,7 +105,7 @@ void nrf52_spi0select(struct spi_dev_s *dev, uint32_t devid,
   switch (devid)
     {
 #ifdef CONFIG_IEEE802154_MRF24J40
-    case SPIDEV_IEEE802154(0):
+      case SPIDEV_IEEE802154(0):
         {
           spiinfo("MRF24J40 device %s\n",
                   selected ? "asserted" : "de-asserted");

Reply via email to