mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AC_PID: remove use of never-set AP_HAL_PX4 and AP_HAL_VRBRAIN
This commit is contained in:
parent
3bbe6c46a5
commit
312243142b
@ -9,7 +9,7 @@
|
|||||||
#include <RC_Channel/RC_Channel.h>
|
#include <RC_Channel/RC_Channel.h>
|
||||||
|
|
||||||
// we need a boardconfig created so that the io processor is available
|
// we need a boardconfig created so that the io processor is available
|
||||||
#if HAL_WITH_IO_MCU || CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
|
#if HAL_WITH_IO_MCU
|
||||||
#include <AP_BoardConfig/AP_BoardConfig.h>
|
#include <AP_BoardConfig/AP_BoardConfig.h>
|
||||||
#include <AP_IOMCU/AP_IOMCU.h>
|
#include <AP_IOMCU/AP_IOMCU.h>
|
||||||
AP_BoardConfig BoardConfig;
|
AP_BoardConfig BoardConfig;
|
||||||
@ -57,7 +57,7 @@ void setup()
|
|||||||
{
|
{
|
||||||
hal.console->printf("ArduPilot AC_PID library test\n");
|
hal.console->printf("ArduPilot AC_PID library test\n");
|
||||||
|
|
||||||
#if HAL_WITH_IO_MCU || CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
|
#if HAL_WITH_IO_MCU
|
||||||
BoardConfig.init();
|
BoardConfig.init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user