AP_HAL_Px4: use RCOutput_Tap for aerofc

This commit is contained in:
Lucas De Marchi 2017-02-08 08:42:41 -08:00 committed by Andrew Tridgell
parent 75977cd890
commit 327de91b5c

View File

@ -13,15 +13,13 @@
#include "Storage.h"
#include "RCInput.h"
#include "RCOutput.h"
#include "RCOutput_Tap.h"
#include "AnalogIn.h"
#include "Util.h"
#include "GPIO.h"
#include "I2CDevice.h"
#include "SPIDevice.h"
#include <AP_HAL_Empty/AP_HAL_Empty.h>
#include <AP_HAL_Empty/AP_HAL_Empty_Private.h>
#include <stdlib.h>
#include <systemlib/systemlib.h>
#include <nuttx/config.h>
@ -38,10 +36,10 @@ using namespace PX4;
static PX4Scheduler schedulerInstance;
static PX4Storage storageDriver;
static PX4RCInput rcinDriver;
#if !defined(CONFIG_ARCH_BOARD_AEROFC_V1)
static PX4RCOutput rcoutDriver;
#if defined(CONFIG_ARCH_BOARD_AEROFC_V1)
static RCOutput_Tap rcoutDriver;
#else
static Empty::RCOutput rcoutDriver;
static PX4RCOutput rcoutDriver;
#endif
static PX4AnalogIn analogIn;
static PX4Util utilInstance;