mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: removed some debug code
This commit is contained in:
parent
e282554035
commit
3aa39da6cd
|
@ -78,8 +78,6 @@ bool AP_Baro_BMP085::init()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
hal.console->println_P(PSTR("read bmp085 calibration regs"));
|
|
||||||
|
|
||||||
ac1 = ((int)buff[0] << 8) | buff[1];
|
ac1 = ((int)buff[0] << 8) | buff[1];
|
||||||
ac2 = ((int)buff[2] << 8) | buff[3];
|
ac2 = ((int)buff[2] << 8) | buff[3];
|
||||||
ac3 = ((int)buff[4] << 8) | buff[5];
|
ac3 = ((int)buff[4] << 8) | buff[5];
|
||||||
|
@ -95,8 +93,6 @@ bool AP_Baro_BMP085::init()
|
||||||
//Send a command to read Temp
|
//Send a command to read Temp
|
||||||
Command_ReadTemp();
|
Command_ReadTemp();
|
||||||
|
|
||||||
hal.console->println_P(PSTR("read bmp085 temp"));
|
|
||||||
|
|
||||||
BMP085_State = 1;
|
BMP085_State = 1;
|
||||||
|
|
||||||
// init raw temo
|
// init raw temo
|
||||||
|
|
Loading…
Reference in New Issue