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.
Dependents: AMS_CCS811_gas_sensor AMS_CCS811_gas_sensor
Diff: AMS_ENS210.cpp
- Revision:
- 1:94a79c88c105
- Parent:
- 0:7088b1bdc2e5
- Child:
- 2:f5a7883ae9c2
--- a/AMS_ENS210.cpp Tue Jan 17 14:23:13 2017 +0000
+++ b/AMS_ENS210.cpp Tue Jan 17 14:26:34 2017 +0000
@@ -4,8 +4,7 @@
AMS_ENS210::AMS_ENS210(I2C * i2c) :
_temp_mode(CONFIG_TEMP_OP_MODE),
_humid_mode(CONFIG_HUMID_OP_MODE),
- _power_mode(CONFIG_POWER_MODE),
- _reset(0)
+ _power_mode(CONFIG_POWER_MODE)
{
_i2c = i2c;
}
@@ -13,8 +12,7 @@
AMS_ENS210::AMS_ENS210(I2C * i2c, bool temp_single_shot, bool humid_single_shot) :
_temp_mode(temp_single_shot),
_humid_mode(humid_single_shot),
- _power_mode(CONFIG_POWER_MODE),
- _reset(0)
+ _power_mode(CONFIG_POWER_MODE)
{
_i2c = i2c;
}
@@ -22,8 +20,7 @@
AMS_ENS210::AMS_ENS210(I2C * i2c, bool temp_single_shot, bool humid_single_shot, bool low_power) :
_temp_mode(temp_single_shot),
_humid_mode(humid_single_shot),
- _power_mode(low_power),
- _reset(0)
+ _power_mode(low_power)
{
_i2c = i2c;
}