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.git

commit 9938e06e08c87b898fd0e5027a9f47182b382051
Author: raiden00pl <[email protected]>
AuthorDate: Fri Oct 16 11:12:01 2026 +0200

    arch/arm/nrf52: fix nxstyle errors
    
    Fix the indentation of leave_critical_section() in
    nrf52_radioi8_isr_rtc() and replace the micro sign in two TIFS comments
    of nrf52_radio.h with "us".
    
    Assisted-by: Claude Code
    Signed-off-by: raiden00pl <[email protected]>
---
 arch/arm/src/nrf52/hardware/nrf52_radio.h | 4 ++--
 arch/arm/src/nrf52/nrf52_ieee802154_rtc.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/src/nrf52/hardware/nrf52_radio.h 
b/arch/arm/src/nrf52/hardware/nrf52_radio.h
index a3f69d7d419..095140c1f3f 100644
--- a/arch/arm/src/nrf52/hardware/nrf52_radio.h
+++ b/arch/arm/src/nrf52/hardware/nrf52_radio.h
@@ -112,7 +112,7 @@
 #define NRF52_RADIO_CRCCNF_OFFSET            0x0534                 /* CRC 
configuration */
 #define NRF52_RADIO_CRCPOLY_OFFSET           0x0538                 /* CRC 
polynomial */
 #define NRF52_RADIO_CRCINIT_OFFSET           0x053c                 /* CRC 
initial value */
-#define NRF52_RADIO_TIFS_OFFSET              0x0544                 /* 
Interframe spacing in μs */
+#define NRF52_RADIO_TIFS_OFFSET              0x0544                 /* 
Interframe spacing in us */
 #define NRF52_RADIO_RSSISAMPLE_OFFSET        0x0548                 /* RSSI 
sample */
 #define NRF52_RADIO_STATE_OFFSET             0x0550                 /* Current 
radio state */
 #define NRF52_RADIO_DATAWHITEIV_OFFSET       0x0554                 /* Data 
whitening initial value */
@@ -410,7 +410,7 @@
 
 /* TIFS Register */
 
-#define RADIO_TIFS_SHIFT                  (0)      /* Bits 0-9: Interframe 
spacing in μs */
+#define RADIO_TIFS_SHIFT                  (0)      /* Bits 0-9: Interframe 
spacing in us */
 #define RADIO_TIFS_MASK                   (0x3ff << RADIO_TIFS_SHIFT)
 #define RADIO_TIFS_MAX                    (0x3ff)
 
diff --git a/arch/arm/src/nrf52/nrf52_ieee802154_rtc.c 
b/arch/arm/src/nrf52/nrf52_ieee802154_rtc.c
index 81ef1d70799..f083c36ba4e 100644
--- a/arch/arm/src/nrf52/nrf52_ieee802154_rtc.c
+++ b/arch/arm/src/nrf52/nrf52_ieee802154_rtc.c
@@ -344,7 +344,7 @@ static int nrf52_radioi8_isr_rtc(int irq, void *context, 
void *arg)
       NRF52_RTC_ACKINT(rtc->rtc, NRF52_RTC_TIMESLOT);
     }
 
-    leave_critical_section(flags);
+  leave_critical_section(flags);
 
   return OK;
 }

Reply via email to