mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_GPS: Remove un-used AP_GPS::inject_data_all() function
This commit is contained in:
parent
5261654756
commit
5b67b33310
@ -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; i<num_instances; i++) {
|
||||
if ((drivers[i] != nullptr) && (_type[i] != GPS_TYPE_NONE)) {
|
||||
drivers[i]->inject_data(data, len);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void AP_GPS::Write_DataFlash_Log_Startup_messages()
|
||||
{
|
||||
if (_DataFlash == nullptr) {
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user