Rover: move sending of battery data up

This commit is contained in:
Peter Barker 2018-05-02 18:10:42 +10:00 committed by WickedShell
parent 347ab96bf0
commit b38d23d542
1 changed files with 0 additions and 7 deletions

View File

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