mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Rover: move try_send_message of heartbeats up to GCS_MAVLINK
This commit is contained in:
parent
eecdcacf3e
commit
1bc208584f
@ -299,11 +299,6 @@ bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id)
|
||||
}
|
||||
|
||||
switch (id) {
|
||||
case MSG_HEARTBEAT:
|
||||
CHECK_PAYLOAD_SIZE(HEARTBEAT);
|
||||
last_heartbeat_time = AP_HAL::millis();
|
||||
send_heartbeat();
|
||||
return true;
|
||||
|
||||
case MSG_EXTENDED_STATUS1:
|
||||
// send extended status only once vehicle has been initialised
|
||||
|
Loading…
Reference in New Issue
Block a user