mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +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;
|
int i;
|
||||||
for (i = CONFIG_PM_IRQBUTTONS_MIN; i <= CONFIG_PM_IRQBUTTONS_MAX; 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)
|
if (oldhandler != NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user