mod readHumidity(). using parameter 'force'

This commit is contained in:
JongHo Lim 2015-11-29 22:27:43 +09:00
parent edcd0e06e6
commit 89937d5d25

View File

@ -71,7 +71,7 @@ float DHT::convertFtoC(float f) {
float DHT::readHumidity(bool force) {
float f = NAN;
if (read()) {
if (read(force)) {
switch (_type) {
case DHT11:
f = data[0];