From 5211b2d7015a12ae38f064b8d2dedda1629131d7 Mon Sep 17 00:00:00 2001 From: Boyi C Date: Tue, 12 Dec 2017 14:24:57 +0800 Subject: [PATCH] fix typo --- DHT_U.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DHT_U.cpp b/DHT_U.cpp index 87a8f92..1c3f4f7 100644 --- a/DHT_U.cpp +++ b/DHT_U.cpp @@ -61,7 +61,7 @@ void DHT_Unified::setMinDelay(sensor_t* sensor) { sensor->min_delay = 1000000L; // 1 second (in microseconds) break; case DHT12: - sensor->min_delay = 2000000L; // 1 second (in microseconds) + sensor->min_delay = 2000000L; // 2 second (in microseconds) break; case DHT21: sensor->min_delay = 2000000L; // 2 seconds (in microseconds)