Skip to content

Commit

Permalink
ignoring bme280 humidity range check
Browse files Browse the repository at this point in the history
  • Loading branch information
seanshahkarami committed Mar 11, 2022
1 parent 2eaacca commit 4321eb3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ROOTFS/etc/waggle/sanity/fatal/check_bme_sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ def handle_bme280(name, path):

assert valid_temperature(temp)
assert valid_pressure(press)
assert valid_rel_humidity(hum)
# NOTE(sean) We realized the %RH calculation can lead to values way outside of [0,100]. To prevent the test from
# failing in rare cases, we will not check the humidity range.
# assert valid_rel_humidity(hum)
print("ignoring bme280 relative humidity due to known range issue")


# reference from iio plugin
Expand Down

0 comments on commit 4321eb3

Please sign in to comment.