diff --git a/AntennaTracker/GCS_Mavlink.cpp b/AntennaTracker/GCS_Mavlink.cpp index 1da6621108..50977e4cfe 100644 --- a/AntennaTracker/GCS_Mavlink.cpp +++ b/AntennaTracker/GCS_Mavlink.cpp @@ -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: diff --git a/AntennaTracker/Tracker.h b/AntennaTracker/Tracker.h index b2acd9202d..78ffae445f 100644 --- a/AntennaTracker/Tracker.h +++ b/AntennaTracker/Tracker.h @@ -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