Fix another compiler issue found in build testing.
This commit is contained in:
parent
095411859e
commit
192c41aa45
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user