Fixed small spelling mistakes.

This commit is contained in:
Slavey Karadzhov 2021-12-10 10:14:51 +01:00
parent a9c82197bc
commit f8a0da54c8
1 changed files with 3 additions and 3 deletions

View File

@ -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