mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Baro: MS5611: remove empty statement
This commit is contained in:
parent
94d01934f7
commit
977f6aaf15
@ -317,7 +317,7 @@ void AP_Baro_MS56XX::_timer(void)
|
|||||||
_serial->write(ADDR_CMD_CONVERT_D2);
|
_serial->write(ADDR_CMD_CONVERT_D2);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
uint32_t d1 = _serial->read_24bits(0);;
|
uint32_t d1 = _serial->read_24bits(0);
|
||||||
if (d1 != 0) {
|
if (d1 != 0) {
|
||||||
// occasional zero values have been seen on the PXF
|
// occasional zero values have been seen on the PXF
|
||||||
// board. These may be SPI errors, but safest to ignore
|
// board. These may be SPI errors, but safest to ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user