Browse Source

AP_Baro: removed unused code

master
Andrew Tridgell 12 years ago
parent
commit
2ea243e45b
  1. 2
      libraries/AP_Baro/AP_Baro_BMP085.cpp

2
libraries/AP_Baro/AP_Baro_BMP085.cpp

@ -182,8 +182,6 @@ void AP_Baro_BMP085::ReadPress() @@ -182,8 +182,6 @@ void AP_Baro_BMP085::ReadPress()
// Send Command to Read Temperature
void AP_Baro_BMP085::Command_ReadTemp()
{
uint8_t data[1];
data[0] = 0x2E;
if (hal.i2c->writeRegister(BMP085_ADDRESS, 0xF4, 0x2E) != 0) {
healthy = false;
}

Loading…
Cancel
Save