diff --git a/DHT.cpp b/DHT.cpp index 86ad91c..b051670 100644 --- a/DHT.cpp +++ b/DHT.cpp @@ -120,7 +120,7 @@ float DHT::computeHeatIndex(float temperature, float percentHumidity, bool isFah return isFahrenheit ? hi : convertFtoC(hi); } -boolean DHT::read(bool force) { +bool DHT::read(bool force) { // Check if sensor was read less than two seconds ago and return early // to use last reading. uint32_t currenttime = millis(); diff --git a/DHT.h b/DHT.h index d81f6db..dd52090 100644 --- a/DHT.h +++ b/DHT.h @@ -44,7 +44,7 @@ class DHT { float convertFtoC(float); float computeHeatIndex(float temperature, float percentHumidity, bool isFahrenheit=true); float readHumidity(bool force=false); - boolean read(bool force=false); + bool read(bool force=false); private: uint8_t data[5];