AP_GPS: Nova: Remove unneeded injection override

This commit is contained in:
Michael du Breuil 2021-05-19 12:52:52 -07:00 committed by Andrew Tridgell
parent a658c4f623
commit 60e47b56f5
2 changed files with 0 additions and 14 deletions

View File

@ -290,17 +290,6 @@ AP_GPS_NOVA::process_message(void)
return false;
}
void
AP_GPS_NOVA::inject_data(const uint8_t *data, uint16_t len)
{
if (port->txspace() > len) {
last_injected_data_ms = AP_HAL::millis();
port->write(data, len);
} else {
Debug("NOVA: Not enough TXSPACE");
}
}
#define CRC32_POLYNOMIAL 0xEDB88320L
uint32_t AP_GPS_NOVA::CRC32Value(uint32_t icrc)
{

View File

@ -32,8 +32,6 @@ public:
// Methods
bool read() override;
void inject_data(const uint8_t *data, uint16_t len) override;
const char *name() const override { return "NOVA"; }
private:
@ -59,7 +57,6 @@ private:
static const char* const _initialisation_blob[6];
uint32_t crc_error_counter = 0;
uint32_t last_injected_data_ms = 0;
struct PACKED nova_header
{