mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Baro_BMP085: increase ratio of pressure reads again to be 5:1 (was 4:1)
This commit is contained in:
parent
49a5b664cc
commit
dbb4a9fce6
@ -118,7 +118,7 @@ uint8_t AP_Baro_BMP085::read()
|
|||||||
ReadPress();
|
ReadPress();
|
||||||
Calculate();
|
Calculate();
|
||||||
result = 1;
|
result = 1;
|
||||||
if( BMP085_State >= 5 ) {
|
if( BMP085_State >= 6 ) {
|
||||||
BMP085_State = 1; // Start again from state = 1
|
BMP085_State = 1; // Start again from state = 1
|
||||||
Command_ReadTemp(); // next iteration we will read temperature
|
Command_ReadTemp(); // next iteration we will read temperature
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
Reference in New Issue
Block a user