Commit bbe6679
committed
Include math.h
SparkFunBME280.cpp uses math functions pow, log and log10. This produces
errors such as "pow was not declared in this scope". Found this while
packaging this library for RIOT-OS.
The library works with Arduino because math.h is included somewhere
else. But I think it's better or more correct to include the headers for
the functions used.
Fixes #481 parent 9e01070 commit bbe6679
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments