-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: bmp581: add altitude interpolation
altitude calculation from pressure requires pow() that isn't present in minimal libc. The inpolation method interpolates the altitude between the values from a LUT. The calculation methods ca be selected with the `CONFIG_BMP581_ALTITUDE_CALC_[MATH|LUT|OFF]` Kconfig options. Signed-off-by: Gerhard Jörges <joerges@metratec.com>
- Loading branch information
1 parent
4bb35d8
commit 576fa3b
Showing
2 changed files
with
85 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters