Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing conversions of bme280 values #3965

Merged
merged 1 commit into from
May 11, 2024

Conversation

LordMike
Copy link

The BME280 usermod uses a multiply-round-divide approach to cap the temperature/humidity/pressure values to some number of decimals. But the divide-part was missing in a few instances.

This shows up as the temperature/pressure being a 10-factor too high, depending on the config chosen in my case (BMP280 I2C chip).

Turns out the divide-by-10 was just missing from a few statements.

@blazoncek
Copy link
Collaborator

Please rebase this for 0_15 branch.

The BME280 usermod uses a multiply-round-divide approach to cap the temperature/humidity/pressure values to some number of decimals. But the divide-part was missing in a few instances.
@LordMike LordMike changed the base branch from main to 0_15 May 10, 2024 20:45
@LordMike
Copy link
Author

Rebased. I also changed the target to 0_15 as well.

@blazoncek blazoncek merged commit c016ded into Aircoookie:0_15 May 11, 2024
@LordMike LordMike deleted the bugfix/usermod_bme280 branch May 11, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants