AP_Baro: MS5611: remove empty statement

This commit is contained in:
Lucas De Marchi 2015-11-09 19:27:55 -02:00 committed by Andrew Tridgell
parent 94d01934f7
commit 977f6aaf15

View File

@ -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