Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: BME280.cpp
- 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;
}