mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
nucleo-l476rg/stm32_gpio.c: fix compilation error
Build Documentation / build-html (push) Has been cancelled
Build Documentation / build-html (push) Has been cancelled
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:
committed by
Matteo Golin
parent
5c9f5f1323
commit
5bb7ceb5fe
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user