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 c1a3b9e commit eea12caCopy full SHA for eea12ca
DHT.h
@@ -19,6 +19,11 @@
19
20
#include "Arduino.h"
21
22
+ #if defined(ESP8266)
23
+ #include <interrupts.h>
24
+ #endif
25
+
26
27
/* Uncomment to enable printing out nice debug messages. */
28
//#define DHT_DEBUG
29
@@ -72,6 +77,7 @@ class DHT {
72
77
73
78
};
74
79
80
+#if !defined(ESP8266)
75
81
/*!
76
82
* @brief Class that defines Interrupt Lock Avaiability
83
*/
@@ -88,5 +94,6 @@ class InterruptLock {
88
94
#endif
89
95
}
90
96
97
+#endif
91
98
92
99
0 commit comments