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

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

commit 5d8d9b5e02898c6ab21b0b723cecdb719cc4d5e4
Author: yangsong8 <[email protected]>
AuthorDate: Fri Nov 13 20:36:29 2026 +0800

    drivers/timers: fix the nxstyle errors in pwm.c
    
    Add the missing blank lines after the declarations in pwm_ioctl().
    No code change.
    
    Signed-off-by: yangsong8 <[email protected]>
---
 drivers/timers/pwm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/timers/pwm.c b/drivers/timers/pwm.c
index 3c0e28d7a54..f706abc7e5b 100644
--- a/drivers/timers/pwm.c
+++ b/drivers/timers/pwm.c
@@ -356,6 +356,7 @@ static int pwm_ioctl(FAR struct file *filep, int cmd, 
unsigned long arg)
         {
           FAR const struct pwm_info_s *info =
             (FAR const struct pwm_info_s *)((uintptr_t)arg);
+
           DEBUGASSERT(info != NULL && lower->ops->start != NULL);
 
           pwm_dump("PWMIOC_SETCHARACTERISTICS", info, upper->started);
@@ -387,6 +388,7 @@ static int pwm_ioctl(FAR struct file *filep, int cmd, 
unsigned long arg)
         {
           FAR struct pwm_info_s *info =
             (FAR struct pwm_info_s *)((uintptr_t)arg);
+
           DEBUGASSERT(info != NULL);
 
           memcpy(info, &upper->info, sizeof(struct pwm_info_s));

Reply via email to