diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_LightWareSerial.h b/libraries/AP_RangeFinder/AP_RangeFinder_LightWareSerial.h index 9c95f5a4d9..d5d8ec1cc0 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_LightWareSerial.h +++ b/libraries/AP_RangeFinder/AP_RangeFinder_LightWareSerial.h @@ -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