Skip to content

Commit 1f4206c

Browse files
committed
Merge branch 'fix/fix_bme280_readme' into 'master'
fix(bme280): fix missing default init in bme280 example in README.md Closes AEGHB-925 See merge request ae_group/esp-iot-solution!1180
2 parents facc5f0 + 6847f7d commit 1f4206c

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

components/sensors/pressure/bme280/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-23
4+
5+
### Bug Fixes:
6+
7+
* Fix the issue in README.md where the usage example for bme280 lacks the default initialization.
8+
39
## v0.1.0 - 2024-11-5
410

511
### Enhancements:

components/sensors/pressure/bme280/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ i2c_bus = i2c_bus_create(I2C_MASTER_NUM, &conf);
4141

4242
//Step2: Init bme280
4343
bme280 = bme280_create(i2c_bus, BME280_I2C_ADDRESS_DEFAULT);
44+
bme280_default_init(bme280);
4445

4546
//Step3: Read temperature, humidity and pressure
4647
float temperature = 0.0, humidity = 0.0, pressure = 0.0;

components/sensors/pressure/bme280/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 BME280 preesure sensor
33
url: https://github.com/espressif/esp-iot-solution/tree/master/components/sensors/pressure/bme280
44
repository: https://github.com/espressif/esp-iot-solution.git

0 commit comments

Comments
 (0)