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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5bb7ceb5fe4 nucleo-l476rg/stm32_gpio.c: fix compilation error
5bb7ceb5fe4 is described below

commit 5bb7ceb5fe44b5f6c1f37629ef5b06c1581fc75b
Author: Michal Lenc <[email protected]>
AuthorDate: Fri Mar 27 15:09:16 2026 +0100

    nucleo-l476rg/stm32_gpio.c: fix compilation error
    
    Fixes the following compilation error.
    
    stm32_gpio.c: In function 'stm32gpio_interrupt':
    stm32_gpio.c:150:24: error: 'tm32gpint' undeclared (first use in
    this function); did you mean 'stm32gpint'?
      150 |                        tm32gpint->stm32gpio.id);
          |                        ^~~~~~~~~
          |                        stm32gpint
    
    Signed-off-by: Michal Lenc <[email protected]>
---
 boards/arm/stm32l4/nucleo-l476rg/src/stm32_gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/stm32l4/nucleo-l476rg/src/stm32_gpio.c 
b/boards/arm/stm32l4/nucleo-l476rg/src/stm32_gpio.c
index 84c9ead4d5d..06b8236a6c1 100644
--- a/boards/arm/stm32l4/nucleo-l476rg/src/stm32_gpio.c
+++ b/boards/arm/stm32l4/nucleo-l476rg/src/stm32_gpio.c
@@ -147,7 +147,7 @@ static int stm32gpio_interrupt(int irq, void *context, void 
*arg)
   gpioinfo("Interrupt! callback=%p\n", stm32gpint->callback);
 
   stm32gpint->callback(&stm32gpint->stm32gpio.gpio,
-                       tm32gpint->stm32gpio.id);
+                       stm32gpint->stm32gpio.id);
   return OK;
 }
 

Reply via email to