Plane: remove PX4-specific code that disables overrides on reboot

This commit is contained in:
Peter Barker 2019-01-18 15:28:41 +11:00 committed by Andrew Tridgell
parent 33baae80b1
commit 99a93112b4
2 changed files with 0 additions and 6 deletions

View File

@ -765,11 +765,6 @@ void GCS_MAVLINK_Plane::packetReceived(const mavlink_status_t &status,
GCS_MAVLINK::packetReceived(status, msg);
}
bool GCS_MAVLINK_Plane::should_disable_overrides_on_reboot() const
{
return (plane.quadplane.enable != 0);
}
MAV_RESULT GCS_MAVLINK_Plane::handle_command_int_packet(const mavlink_command_int_t &packet)
{

View File

@ -22,7 +22,6 @@ protected:
bool sysid_enforce() const override;
bool set_mode(uint8_t mode) override;
bool should_disable_overrides_on_reboot() const override;
MAV_RESULT handle_command_preflight_calibration(const mavlink_command_long_t &packet) override;
MAV_RESULT _handle_command_preflight_calibration(const mavlink_command_long_t &packet) override;