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

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

commit ac4542f6c5393ec7d95fa59e072bc408145838ea
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Mon Nov 2 16:33:08 2026 +0800

    boards/stm32l4/nucleo-l476rg: fix nxstyle.
    
    Fix missing blank line after declarations.
    
    Assisted-By: mimo-v2.6-pro
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 boards/arm/stm32l4/nucleo-l476rg/src/stm32_ajoystick.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/boards/arm/stm32l4/nucleo-l476rg/src/stm32_ajoystick.c 
b/boards/arm/stm32l4/nucleo-l476rg/src/stm32_ajoystick.c
index 96fc9df7c48..86425c8a170 100644
--- a/boards/arm/stm32l4/nucleo-l476rg/src/stm32_ajoystick.c
+++ b/boards/arm/stm32l4/nucleo-l476rg/src/stm32_ajoystick.c
@@ -238,6 +238,7 @@ static int ajoy_sample(const struct ajoy_lowerhalf_s *lower,
       if ((have & 1) == 0 && ptr->am_channel == 0)
         {
           int32_t tmp = ptr->am_data;
+
           sample->as_x = (int16_t)tmp;
           have |= 1;
 
@@ -248,6 +249,7 @@ static int ajoy_sample(const struct ajoy_lowerhalf_s *lower,
       if ((have & 2) == 0 && ptr->am_channel == 1)
         {
           int32_t tmp = ptr->am_data;
+
           sample->as_y = (int16_t)tmp;
           have |= 2;
 

Reply via email to