From 63a59504226647e5b535ff10c90e33cbefebfd0d Mon Sep 17 00:00:00 2001 From: mozzbozz Date: Tue, 16 Aug 2016 16:07:35 +0200 Subject: [PATCH] Fixed spelling mistake in parameter seaLvel -> seaLevel (was correct in `.cpp`-file) Please enable all compiler warnings and you will be likely finding such mistakes before pushing the code to github... --- Adafruit_BMP085_U.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adafruit_BMP085_U.h b/Adafruit_BMP085_U.h index d26979d..4ebe21f 100644 --- a/Adafruit_BMP085_U.h +++ b/Adafruit_BMP085_U.h @@ -104,7 +104,7 @@ class Adafruit_BMP085_Unified : public Adafruit_Sensor bool begin(bmp085_mode_t mode = BMP085_MODE_ULTRAHIGHRES); void getTemperature(float *temp); void getPressure(float *pressure); - float pressureToAltitude(float seaLvel, float atmospheric); + float pressureToAltitude(float seaLevel, float atmospheric); float seaLevelForAltitude(float altitude, float atmospheric); // Note that the next two functions are just for compatibility with old // code that passed the temperature as a third parameter. A newer