From 5551b01ea2c965a01725a018b63b9133db2dfb76 Mon Sep 17 00:00:00 2001 From: Kris Winer Date: Sat, 30 Jan 2016 12:10:23 -0800 Subject: [PATCH] Update EM7180_LSM9DS0_LPS25H.ino --- EM7180_LSM9DS0_LPS25H.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EM7180_LSM9DS0_LPS25H.ino b/EM7180_LSM9DS0_LPS25H.ino index a0cc0fe..b400730 100644 --- a/EM7180_LSM9DS0_LPS25H.ino +++ b/EM7180_LSM9DS0_LPS25H.ino @@ -808,7 +808,7 @@ void loop() } // get LPS25H pressure - // if(readByte(EM7180_ADDRESS, EM7180_EventStatus) & 0x40) { // new baro data available + if(eventStatus & 0x40) { // new baro data available // Serial.println("new Baro data!"); rawPressure = readSENtralBaroData(); Pressure = (float) rawPressure*3000.; // pressure in mBar