From bbe667988d2c7ad1f1987968fa25aba15819f195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= Date: Sat, 24 Oct 2020 13:21:14 +0200 Subject: [PATCH] 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 #48 --- src/SparkFunBME280.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SparkFunBME280.cpp b/src/SparkFunBME280.cpp index 235e259..1e624da 100644 --- a/src/SparkFunBME280.cpp +++ b/src/SparkFunBME280.cpp @@ -20,6 +20,7 @@ Distributed as-is; no warranty is given. ******************************************************************************/ //See SparkFunBME280.h for additional topology notes. +#include #include "SparkFunBME280.h" //****************************************************************************// pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy