From 58435fb0c97d9a36b6ece095c4f5fc8df458ec41 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 22 Jun 2020 11:13:31 +0200 Subject: [PATCH] Revert "Change delay(2) to delayMicroseconds(2000)" This reverts commit 252dddef7cd1a30e8b2d9cb9a07bf2f4cc7ade83. --- tasmota/xsns_06_dht.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasmota/xsns_06_dht.ino b/tasmota/xsns_06_dht.ino index 7bb1a3513..46fb69fa5 100644 --- a/tasmota/xsns_06_dht.ino +++ b/tasmota/xsns_06_dht.ino @@ -77,8 +77,7 @@ bool DhtRead(uint32_t sensor) delay(19); // minimum 18ms break; case GPIO_DHT22: // DHT21, DHT22, AM2301, AM2302, AM2321 -// delay(2); // minimum 1ms - delayMicroseconds(2000); // See https://github.com/arendst/Tasmota/pull/7468#issuecomment-647067015 + delay(2); // minimum 1ms break; case GPIO_SI7021: // iTead SI7021 delayMicroseconds(500);