Skip to content

Commit 32ef7ed

Browse files
committed
Merge branch 'fix/fix_hdc2010_reset' into 'master'
fix(hdc2010): fix wrong configuration in reset_and_drdy See merge request ae_group/esp-iot-solution!1171
2 parents 98cc5e6 + cba37a9 commit 32ef7ed

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

components/sensors/humiture/hdc2010/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# ChangeLog
22

3+
## v0.1.1 - 2024-12-11
4+
5+
### Bug Fixes:
6+
7+
* Fix the configuration of the seventh bit in the ``HDC2010_RESET_INT_CONF`` configuration register
8+
39
## v0.1.0 - 2024-11-5
410

511
### Enhancements:

components/sensors/humiture/hdc2010/hdc2010.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ esp_err_t hdc2010_set_reset_and_drdy(hdc2010_handle_t sensor, hdc2010_reset_and_
206206
{
207207
hdc2010_dev_t *sens = (hdc2010_dev_t *) sensor;
208208
uint8_t config_data = 0;
209-
config_data |= config->heat_en << 7;
209+
config_data |= config->soft_res << 7;
210210
config_data |= config->output_rate << 4;
211211
config_data |= config->heat_en << 3;
212212
config_data |= config->int_en << 2;

components/sensors/humiture/hdc2010/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "0.1.0"
1+
version: "0.1.1"
22
description: I2C driver for HDC2010 humiture sensor
33
url: https://github.com/espressif/esp-iot-solution/tree/master/components/sensors/humiture/hdc2010
44
repository: https://github.com/espressif/esp-iot-solution.git

0 commit comments

Comments
 (0)