mirror of https://github.com/ArduPilot/ardupilot
AP_GPS: Nova: Remove unneeded injection override
This commit is contained in:
parent
a658c4f623
commit
60e47b56f5
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue