Browse Source

Plane: move try_send_message of heartbeats up to GCS_MAVLINK

mission-4.1.18
Peter Barker 7 years ago committed by WickedShell
parent
commit
8df625e81a
  1. 5
      ArduPlane/GCS_Mavlink.cpp

5
ArduPlane/GCS_Mavlink.cpp

@ -414,11 +414,6 @@ bool GCS_MAVLINK_Plane::try_send_message(enum ap_message id) @@ -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…
Cancel
Save