Tracker: rename send_extended_status1 to send_sys_status

This commit is contained in:
Peter Barker 2018-12-04 15:32:09 +11:00 committed by Randy Mackay
parent b67876316a
commit 703eef7fb4
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ MAV_STATE GCS_MAVLINK_Tracker::system_status() const
return MAV_STATE_ACTIVE;
}
void Tracker::send_extended_status1(mavlink_channel_t chan)
void Tracker::send_sys_status(mavlink_channel_t chan)
{
int16_t battery_current = -1;
int8_t battery_remaining = -1;
@ -137,7 +137,7 @@ bool GCS_MAVLINK_Tracker::try_send_message(enum ap_message id)
case MSG_EXTENDED_STATUS1:
CHECK_PAYLOAD_SIZE(SYS_STATUS);
tracker.send_extended_status1(chan);
tracker.send_sys_status(chan);
break;
default:

View File

@ -223,7 +223,7 @@ private:
bool servo_test_set_servo(uint8_t servo_num, uint16_t pwm);
// GCS_Mavlink.cpp
void send_extended_status1(mavlink_channel_t chan);
void send_sys_status(mavlink_channel_t chan);
void send_nav_controller_output(mavlink_channel_t chan);
// Log.cpp