Browse Source

Rover: move sending of battery data up

mission-4.1.18
Peter Barker 7 years ago committed by WickedShell
parent
commit
b38d23d542
  1. 7
      APMrover2/GCS_Mavlink.cpp

7
APMrover2/GCS_Mavlink.cpp

@ -388,9 +388,6 @@ bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id) @@ -388,9 +388,6 @@ bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id)
rover.send_fence_status(chan);
break;
case MSG_BATTERY2:
CHECK_PAYLOAD_SIZE(BATTERY2);
send_battery2(rover.battery);
break;
case MSG_EKF_STATUS_REPORT:
@ -405,10 +402,6 @@ bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id) @@ -405,10 +402,6 @@ bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id)
rover.send_pid_tuning(chan);
break;
case MSG_BATTERY_STATUS:
send_battery_status(rover.battery);
break;
default:
return GCS_MAVLINK::try_send_message(id);
}

Loading…
Cancel
Save