mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
Fix another compiler issue found in build testing.
This commit is contained in:
@@ -314,7 +314,8 @@ void stm32_pmbuttons(void)
|
||||
int i;
|
||||
for (i = CONFIG_PM_IRQBUTTONS_MIN; i <= CONFIG_PM_IRQBUTTONS_MAX; i++)
|
||||
{
|
||||
xcpt_t oldhandler = board_button_irq(i, g_buttonhandlers[BUTTON_INDEX(i)]);
|
||||
xcpt_t oldhandler =
|
||||
board_button_irq(i, g_buttonhandlers[BUTTON_INDEX(i)], NULL);
|
||||
|
||||
if (oldhandler != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user