mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 14:55:18 +00:00
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 <michallenc@seznam.cz>
This commit is contained in:
parent
5c9f5f1323
commit
5bb7ceb5fe
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue