mirror of https://github.com/ArduPilot/ardupilot
AP_Airspeed: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
This commit is contained in:
parent
877b1413ea
commit
533b9e12b1
|
@ -16,10 +16,10 @@
|
|||
* AP_Airspeed.cpp - airspeed (pitot) driver
|
||||
*/
|
||||
|
||||
#include <AP_Vehicle/AP_Vehicle_Type.h>
|
||||
|
||||
#include "AP_Airspeed.h"
|
||||
|
||||
#include <AP_Vehicle/AP_Vehicle_Type.h>
|
||||
|
||||
// Dummy the AP_Airspeed class to allow building Airspeed only for plane, rover, sub, and copter & heli 2MB boards
|
||||
// This could be removed once the build system allows for APM_BUILD_TYPE in header files
|
||||
#ifndef AP_AIRSPEED_DUMMY_METHODS_ENABLED
|
||||
|
@ -37,7 +37,6 @@
|
|||
#include <SRV_Channel/SRV_Channel.h>
|
||||
#include <AP_Logger/AP_Logger.h>
|
||||
#include <utility>
|
||||
#include <AP_Vehicle/AP_Vehicle.h>
|
||||
#include "AP_Airspeed_MS4525.h"
|
||||
#include "AP_Airspeed_MS5525.h"
|
||||
#include "AP_Airspeed_SDP3X.h"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#if AP_AIRSPEED_NMEA_ENABLED
|
||||
|
||||
#include <AP_Vehicle/AP_Vehicle.h>
|
||||
#include <AP_Vehicle/AP_Vehicle_Type.h>
|
||||
#if APM_BUILD_TYPE(APM_BUILD_Rover) || APM_BUILD_TYPE(APM_BUILD_ArduSub)
|
||||
|
||||
#include "AP_Airspeed.h"
|
||||
|
|
Loading…
Reference in New Issue