Merge pull request #100 from slaff/fix/spelling

Fixed small spelling mistakes.
This commit is contained in:
Carter Nelson 2021-12-10 08:37:37 -08:00 committed by GitHub
commit ca3a36b7fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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; } 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 Celsius
* @returns the current temperature compensation value in degrees Celcius * @returns the current temperature compensation value in degrees Celsius
*/ */
float Adafruit_BME280::getTemperatureCompensation(void) { float Adafruit_BME280::getTemperatureCompensation(void) {
return float((t_fine_adjust * 5) >> 8) / 100.0; 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 * Sets a value to be added to each temperature reading. This adjusted
* temperature is used in pressure and humidity readings. * 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) { void Adafruit_BME280::setTemperatureCompensation(float adjustment) {
// convert the value in C into and adjustment to t_fine // convert the value in C into and adjustment to t_fine