mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Baro: removed unused code
This commit is contained in:
parent
13309cceb3
commit
2ea243e45b
@ -182,8 +182,6 @@ void AP_Baro_BMP085::ReadPress()
|
|||||||
// Send Command to Read Temperature
|
// Send Command to Read Temperature
|
||||||
void AP_Baro_BMP085::Command_ReadTemp()
|
void AP_Baro_BMP085::Command_ReadTemp()
|
||||||
{
|
{
|
||||||
uint8_t data[1];
|
|
||||||
data[0] = 0x2E;
|
|
||||||
if (hal.i2c->writeRegister(BMP085_ADDRESS, 0xF4, 0x2E) != 0) {
|
if (hal.i2c->writeRegister(BMP085_ADDRESS, 0xF4, 0x2E) != 0) {
|
||||||
healthy = false;
|
healthy = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user