mirror of https://github.com/ArduPilot/ardupilot
AP_RangeFinder: LightwareSerial driver loses unnecessary initialisation
This commit is contained in:
parent
cdbc0c782b
commit
85c4db6896
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue