Skip to content

Commit efcca31

Browse files
Merge pull request #108 from qub1750ul/master
Use bool instead of boolean
2 parents fa12974 + 3bba771 commit efcca31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DHT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ float DHT::computeHeatIndex(float temperature, float percentHumidity, bool isFah
123123
return isFahrenheit ? hi : convertFtoC(hi);
124124
}
125125

126-
boolean DHT::read(bool force) {
126+
bool DHT::read(bool force) {
127127
// Check if sensor was read less than two seconds ago and return early
128128
// to use last reading.
129129
uint32_t currenttime = millis();

DHT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class DHT {
4545
float convertFtoC(float);
4646
float computeHeatIndex(float temperature, float percentHumidity, bool isFahrenheit=true);
4747
float readHumidity(bool force=false);
48-
boolean read(bool force=false);
48+
bool read(bool force=false);
4949

5050
private:
5151
uint8_t data[5];

0 commit comments

Comments
 (0)