AP_AdvancedFailsafe: remove rcmap member from AP_AdvancedFailsafe

This commit is contained in:
Peter Barker 2018-05-05 18:30:26 +10:00 committed by Randy Mackay
parent 2e3a7fc5b6
commit efdf03e27d

View File

@ -51,10 +51,9 @@ public:
}; };
// Constructor // Constructor
AP_AdvancedFailsafe(AP_Mission &_mission, const AP_GPS &_gps, const RCMapper &_rcmap) : AP_AdvancedFailsafe(AP_Mission &_mission, const AP_GPS &_gps) :
mission(_mission), mission(_mission),
gps(_gps), gps(_gps),
rcmap(_rcmap),
_gps_loss_count(0), _gps_loss_count(0),
_comms_loss_count(0) _comms_loss_count(0)
{ {
@ -96,7 +95,6 @@ protected:
AP_Mission &mission; AP_Mission &mission;
const AP_GPS &gps; const AP_GPS &gps;
const RCMapper &rcmap;
AP_Int8 _enable; AP_Int8 _enable;
// digital output pins for communicating with the failsafe board // digital output pins for communicating with the failsafe board