mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
Merge pull request #108 from qub1750ul/master
Use bool instead of boolean
This commit is contained in:
commit
efcca31a7f
2
DHT.cpp
2
DHT.cpp
@ -123,7 +123,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();
|
||||
|
Loading…
Reference in New Issue
Block a user