From f8a0da54c856220a01c7b65a80ebf3bf3d0c04b7 Mon Sep 17 00:00:00 2001 From: Slavey Karadzhov Date: Fri, 10 Dec 2021 10:14:51 +0100 Subject: [PATCH] Fixed small spelling mistakes. --- Adafruit_BME280.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Adafruit_BME280.cpp b/Adafruit_BME280.cpp index 838839e..4c82e05 100644 --- a/Adafruit_BME280.cpp +++ b/Adafruit_BME280.cpp @@ -472,8 +472,8 @@ float Adafruit_BME280::seaLevelForAltitude(float altitude, float atmospheric) { uint32_t Adafruit_BME280::sensorID(void) { return _sensorID; } /*! - * Returns the current temperature compensation value in degrees Celcius - * @returns the current temperature compensation value in degrees Celcius + * Returns the current temperature compensation value in degrees Celsius + * @returns the current temperature compensation value in degrees Celsius */ float Adafruit_BME280::getTemperatureCompensation(void) { return float((t_fine_adjust * 5) >> 8) / 100.0; @@ -482,7 +482,7 @@ float Adafruit_BME280::getTemperatureCompensation(void) { /*! * Sets a value to be added to each temperature reading. This adjusted * temperature is used in pressure and humidity readings. - * @param adjustment Value to be added to each tempature reading in Celcius + * @param adjustment Value to be added to each temperature reading in Celsius */ void Adafruit_BME280::setTemperatureCompensation(float adjustment) { // convert the value in C into and adjustment to t_fine