AP_RangeFinder: LightwareSerial driver loses unnecessary initialisation

This commit is contained in:
Randy Mackay 2020-06-30 21:06:46 +09:00
parent cdbc0c782b
commit 85c4db6896
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ private:
bool get_reading(uint16_t &reading_cm) override;
char linebuf[10]; // legacy protocol buffer
uint8_t linebuf_len = 0; // legacy protocol buffer length
uint8_t linebuf_len; // legacy protocol buffer length
uint32_t last_init_ms; // init time used to switch lw20 to serial mode
uint8_t high_byte; // binary protocol high byte
bool high_byte_received; // true if high byte has been received