From 5b67b333103f08e71c3f03d64d62228d98fe6d57 Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar Do Carmo Lucas" Date: Mon, 1 May 2017 11:14:49 +0200 Subject: [PATCH] AP_GPS: Remove un-used AP_GPS::inject_data_all() function --- libraries/AP_GPS/AP_GPS.cpp | 13 ------------- libraries/AP_GPS/AP_GPS.h | 3 --- 2 files changed, 16 deletions(-) diff --git a/libraries/AP_GPS/AP_GPS.cpp b/libraries/AP_GPS/AP_GPS.cpp index bf328c0127..1efb274869 100644 --- a/libraries/AP_GPS/AP_GPS.cpp +++ b/libraries/AP_GPS/AP_GPS.cpp @@ -1018,19 +1018,6 @@ void AP_GPS::handle_gps_rtcm_data(const mavlink_message_t *msg) } } -/* - inject data into all backends -*/ -void AP_GPS::inject_data_all(const uint8_t *data, uint16_t len) -{ - uint8_t i; - for (i=0; iinject_data(data, len); - } - } -} - void AP_GPS::Write_DataFlash_Log_Startup_messages() { if (_DataFlash == nullptr) { diff --git a/libraries/AP_GPS/AP_GPS.h b/libraries/AP_GPS/AP_GPS.h index 8d5f8b1d0c..51610dbf08 100644 --- a/libraries/AP_GPS/AP_GPS.h +++ b/libraries/AP_GPS/AP_GPS.h @@ -466,9 +466,6 @@ private: // re-assemble GPS_RTCM_DATA message void handle_gps_rtcm_data(const mavlink_message_t *msg); - // inject data into all backends - void inject_data_all(const uint8_t *data, uint16_t len); - // GPS blending and switching Vector2f _NE_pos_offset_m[GPS_MAX_RECEIVERS]; // Filtered North,East position offset from GPS instance to blended solution in _output_state.location (m) float _hgt_offset_cm[GPS_MAX_RECEIVERS]; // Filtered height offset from GPS instance relative to blended solution in _output_state.location (cm)