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 61ffee5 commit 9023b16Copy full SHA for 9023b16
DHT.h
@@ -20,6 +20,11 @@
20
21
#include "Arduino.h"
22
23
+ #if defined(ESP8266)
24
+ #include <interrupts.h>
25
+ #endif
26
+
27
28
/* Uncomment to enable printing out nice debug messages. */
29
//#define DHT_DEBUG
30
@@ -89,6 +94,7 @@ class DHT {
89
94
uint32_t expectPulse(bool level);
90
95
};
91
96
97
+#if !defined(ESP8266)
92
98
/*!
93
99
* @brief Class that defines Interrupt Lock Avaiability
100
*/
@@ -105,5 +111,6 @@ class InterruptLock {
105
111
#endif
106
112
}
107
113
114
+#endif
108
115
109
116
0 commit comments