From 3847825fba578d0d53d857babe885fae4141d08e Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 18 May 2017 17:42:48 -0700 Subject: [PATCH] AP_HAL_Linux: make Aero use Tap ESC This allows controlling the motors from Linux on Intel Aero RTF given the right FPGA firmware is in place. --- libraries/AP_HAL_Linux/HAL_Linux_Class.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp b/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp index d8c6b0853e..7da34b56c0 100644 --- a/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp +++ b/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -31,7 +32,6 @@ #include "RCInput_115200.h" #include "RCInput_Multi.h" #include "RCInput_ZYNQ.h" -#include "RCOutput_AeroIO.h" #include "RCOutput_AioPRU.h" #include "RCOutput_Bebop.h" #include "RCOutput_Disco.h" @@ -205,7 +205,7 @@ static RCOutput_Disco rcoutDriver(i2c_mgr_instance.get_device(HAL_RCOUT_DISCO_BL #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO2 static RCOutput_Sysfs rcoutDriver(0, 0, 14); #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_AERO -static RCOutput_AeroIO rcoutDriver; +static ap::RCOutput_Tap rcoutDriver; #else static Empty::RCOutput rcoutDriver; #endif