We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cec0cb commit 9bf1255Copy full SHA for 9bf1255
DHT.h
@@ -67,16 +67,21 @@ class DHT {
67
class InterruptLock {
68
public:
69
InterruptLock() {
70
+#if defined(ESP8266)
71
+ yield();
72
+#endif
73
#if !defined(ARDUINO_ARCH_NRF52)
74
noInterrupts();
75
#endif
76
}
77
~InterruptLock() {
78
79
interrupts();
80
81
82
83
84
-
85
};
86
87
0 commit comments