AP_DAL: remove unused antenna_offset state

This commit is contained in:
Peter Barker 2020-11-14 09:20:53 +11:00 committed by Peter Barker
parent f0b0e36dc6
commit 8c2c6141f7
2 changed files with 0 additions and 5 deletions

View File

@ -49,8 +49,5 @@ void AP_DAL_GPS::start_frame()
WRITE_REPLAY_BLOCK_IFCHANGED(RGPI, RGPI, old_RGPI);
WRITE_REPLAY_BLOCK_IFCHANGED(RGPJ, RGPJ, old_RGPJ);
// also fetch antenna offset for this frame
antenna_offset[i] = gps.get_antenna_offset(i);
}
}

View File

@ -145,6 +145,4 @@ private:
struct log_RGPH _RGPH;
struct log_RGPI _RGPI[GPS_MAX_INSTANCES];
struct log_RGPJ _RGPJ[GPS_MAX_INSTANCES];
Vector3f antenna_offset[GPS_MAX_INSTANCES];
};