diff --git a/libraries/AP_Baro/AP_Baro_MS5611.cpp b/libraries/AP_Baro/AP_Baro_MS5611.cpp index 941a44be8a..b8e08c5712 100644 --- a/libraries/AP_Baro/AP_Baro_MS5611.cpp +++ b/libraries/AP_Baro/AP_Baro_MS5611.cpp @@ -317,7 +317,7 @@ void AP_Baro_MS56XX::_timer(void) _serial->write(ADDR_CMD_CONVERT_D2); } } else { - uint32_t d1 = _serial->read_24bits(0);; + uint32_t d1 = _serial->read_24bits(0); if (d1 != 0) { // occasional zero values have been seen on the PXF // board. These may be SPI errors, but safest to ignore