tap_pwr: fix definition of board_shutdown()

This commit is contained in:
Beat Küng 2017-04-18 15:56:29 +02:00 committed by Lorenz Meier
parent 73cb423db6
commit e129969ea2

View File

@ -83,7 +83,7 @@ int board_register_power_state_notification_cb(power_button_state_notification_t
return OK;
}
void board_shutdown()
int board_shutdown()
{
stm32_pwr_enablebkp(true);
/* XXX wow, this is evil - write a magic number into backup register zero */
@ -94,6 +94,7 @@ void board_shutdown()
while (1);
return 0;
}
static int board_button_irq(int irq, FAR void *context)