Jens Schneider / BME280
Revision:
5:8346aef10686
Parent:
4:db58c1198a04
Child:
6:c5a78f81ddda
--- a/BME280.cpp	Mon Nov 23 09:40:00 2015 +0000
+++ b/BME280.cpp	Mon Jan 11 12:38:22 2016 +0000
@@ -60,9 +60,9 @@
     m_pI2C = &i2c;
     m_address = address<<1;
     m_fine_temp = 0x1F3E6;
-    if (!reset()) return false;
-    if (read_chip_id()!=0x60) return false;
-    if (!read_calibration()) return false;
+    if (!reset()) return false;    
+    if (read_chip_id()!=0x60) return false;    
+    if (!read_calibration()) return false;    
     m_bOk = true;
     return true;
 }