mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
Plane: remove PX4-specific code that disables overrides on reboot
This commit is contained in:
parent
33baae80b1
commit
99a93112b4
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user