From 6c3c5853548f52a63765300e7080fc01f3568b14 Mon Sep 17 00:00:00 2001 From: flamerten Date: Sat, 17 Dec 2022 23:09:29 +0800 Subject: [PATCH] Added return type --- Adafruit_BME280.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Adafruit_BME280.cpp b/Adafruit_BME280.cpp index 4388c3c..214e402 100644 --- a/Adafruit_BME280.cpp +++ b/Adafruit_BME280.cpp @@ -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;