Skip to content

Commit

Permalink
Merge branch 'fix/fix_bme280_readme' into 'master'
Browse files Browse the repository at this point in the history
fix(bme280): fix missing default init in bme280 example in README.md

Closes AEGHB-925

See merge request ae_group/esp-iot-solution!1180
  • Loading branch information
YanKE01 committed Dec 23, 2024
2 parents facc5f0 + 6847f7d commit 1f4206c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions components/sensors/pressure/bme280/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# ChangeLog

## v0.1.1 - 2024-12-23

### Bug Fixes:

* Fix the issue in README.md where the usage example for bme280 lacks the default initialization.

## v0.1.0 - 2024-11-5

### Enhancements:
Expand Down
1 change: 1 addition & 0 deletions components/sensors/pressure/bme280/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ i2c_bus = i2c_bus_create(I2C_MASTER_NUM, &conf);

//Step2: Init bme280
bme280 = bme280_create(i2c_bus, BME280_I2C_ADDRESS_DEFAULT);
bme280_default_init(bme280);

//Step3: Read temperature, humidity and pressure
float temperature = 0.0, humidity = 0.0, pressure = 0.0;
Expand Down
2 changes: 1 addition & 1 deletion components/sensors/pressure/bme280/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "0.1.0"
version: "0.1.1"
description: I2C driver for BME280 preesure sensor
url: https://github.com/espressif/esp-iot-solution/tree/master/components/sensors/pressure/bme280
repository: https://github.com/espressif/esp-iot-solution.git
Expand Down

0 comments on commit 1f4206c

Please sign in to comment.