AP_HAL_Linux: remove wrong ifdef

This was added when the support for navio2 went in, but the same ifdef
is already on the lines above.
This commit is contained in:
Lucas De Marchi 2016-07-13 17:04:02 -03:00
parent 3e765e23a9
commit 24cdef24b8

View File

@ -162,8 +162,6 @@ static RCOutput_AioPRU rcoutDriver;
static RCOutput_PCA9685 rcoutDriver(i2c_mgr_instance.get_device(1, PCA9685_PRIMARY_ADDRESS), true, 3, RPI_GPIO_27);
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BH
static RCOutput_PCA9685 rcoutDriver(i2c_mgr_instance.get_device(1, PCA9685_QUATENARY_ADDRESS), false, 0, RPI_GPIO_4);
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLEBRAIN2
static RCOutput_PCA9685 rcoutDriver(i2c_mgr_instance.get_device(1, PCA9685_PRIMARY_ADDRESS), true, 3, RPI_GPIO_27);
/*
use the STM32 based RCOutput driver on Raspilot
*/