TAP v1 config: Add support for external power management calls

This commit is contained in:
Lorenz Meier
2017-02-04 18:28:35 +01:00
parent 1ad03ed8ef
commit 4f1842c9c4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ bool board_pwr_button_down(void);
*
****************************************************************************/
void board_pwr(bool on_not_off);
__EXPORT bool px4_board_pwr(bool on_not_off);
#include "../common/board_common.h"
+1 -1
View File
@@ -156,7 +156,7 @@ bool board_pwr_button_down(void)
*
****************************************************************************/
void board_pwr(bool on_not_off)
__EXPORT void px4_board_pwr(bool on_not_off)
{
if (on_not_off) {
stm32_configgpio(POWER_ON_GPIO);