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 862599bCopy full SHA for 862599b
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,7 +77,7 @@ class DHT {
72
77
73
78
};
74
79
75
-/*!
80
+#if !defined(ESP8266)
76
81
* @brief Class that defines Interrupt Lock Avaiability
82
*/
83
class InterruptLock {
@@ -88,5 +93,6 @@ class InterruptLock {
88
93
#endif
89
94
}
90
95
96
+#endif
91
97
92
98
0 commit comments