diff --git a/libraries/APM_BMP085/APM_BMP085.cpp b/libraries/APM_BMP085/APM_BMP085.cpp index 1fc7093dec..189717ad98 100644 --- a/libraries/APM_BMP085/APM_BMP085.cpp +++ b/libraries/APM_BMP085/APM_BMP085.cpp @@ -109,7 +109,7 @@ uint8_t APM_BMP085_Class::Read() Command_ReadPress(); } }else{ - if (BMP085_State == 40){ + if (BMP085_State == 5){ if (digitalRead(BMP085_EOC)){ ReadPress(); Calculate();