GCS_Mavlink: handle_preflight_reboot made virtual

This commit is contained in:
Randy Mackay 2019-10-04 18:07:03 +09:00 committed by Andrew Tridgell
parent ad9fc4a643
commit ba8e916e44

View File

@ -350,7 +350,7 @@ protected:
void handle_set_gps_global_origin(const mavlink_message_t &msg);
void handle_setup_signing(const mavlink_message_t &msg);
virtual bool should_zero_rc_outputs_on_reboot() const { return false; }
MAV_RESULT handle_preflight_reboot(const mavlink_command_long_t &packet);
virtual MAV_RESULT handle_preflight_reboot(const mavlink_command_long_t &packet);
// reset a message interval via mavlink:
MAV_RESULT handle_command_set_message_interval(const mavlink_command_long_t &packet);