Browse Source

AP_HAL_Px4: use RCOutput_Tap for aerofc

master
Lucas De Marchi 8 years ago committed by Andrew Tridgell
parent
commit
327de91b5c
  1. 10
      libraries/AP_HAL_PX4/HAL_PX4_Class.cpp

10
libraries/AP_HAL_PX4/HAL_PX4_Class.cpp

@ -13,15 +13,13 @@ @@ -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; @@ -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;

Loading…
Cancel
Save