Tools: populate sysid/compid in reboot ACK
This commit is contained in:
parent
0827ec0aaa
commit
25c3665277
@ -67,7 +67,7 @@ uint8_t GCS_Periph::sysid_this_mav() const
|
|||||||
return periph.g.sysid_this_mav;
|
return periph.g.sysid_this_mav;
|
||||||
}
|
}
|
||||||
|
|
||||||
MAV_RESULT GCS_MAVLINK_Periph::handle_preflight_reboot(const mavlink_command_long_t &packet)
|
MAV_RESULT GCS_MAVLINK_Periph::handle_preflight_reboot(const mavlink_command_long_t &packet, const mavlink_message_t &msg)
|
||||||
{
|
{
|
||||||
hal.scheduler->delay(10);
|
hal.scheduler->delay(10);
|
||||||
periph.prepare_reboot();
|
periph.prepare_reboot();
|
||||||
|
@ -31,7 +31,7 @@ private:
|
|||||||
uint32_t telem_delay() const override { return 0; }
|
uint32_t telem_delay() const override { return 0; }
|
||||||
void handleMessage(const mavlink_message_t &msg) override { handle_common_message(msg); }
|
void handleMessage(const mavlink_message_t &msg) override { handle_common_message(msg); }
|
||||||
bool handle_guided_request(AP_Mission::Mission_Command &cmd) override { return true; }
|
bool handle_guided_request(AP_Mission::Mission_Command &cmd) override { return true; }
|
||||||
MAV_RESULT handle_preflight_reboot(const mavlink_command_long_t &packet) override;
|
MAV_RESULT handle_preflight_reboot(const mavlink_command_long_t &packet, const mavlink_message_t &msg) override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user