mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Plane: move try_send_message of heartbeats up to GCS_MAVLINK
This commit is contained in:
parent
75ad33ddcd
commit
8df625e81a
@ -414,11 +414,6 @@ bool GCS_MAVLINK_Plane::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:
|
||||
CHECK_PAYLOAD_SIZE(SYS_STATUS);
|
||||
|
Loading…
Reference in New Issue
Block a user