Skip to content

Commit

Permalink
Added return type
Browse files Browse the repository at this point in the history
  • Loading branch information
flamerten committed Dec 17, 2022
1 parent 8a1d2dc commit 423abff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Adafruit_BME280.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ float Adafruit_BME280::readAltitude(float seaLevel) {
* Computes Heat Index based on https://byjus.com/heat-index-formula/
* @param isCelcius - if true return Heat Index in degrees celcius else return
* in Farenheit
* @returns Heat Index in Celcius or Farenhite depending on parameter isCelcius
*/
float Adafruit_BME280::readHeatIndex(bool isCelcius) {
float tempF = readTemperature() * 1.8 + 32;
Expand Down

0 comments on commit 423abff

Please sign in to comment.