Skip to content

Commit 708bbc6

Browse files
committed
Align with namespace change in ESP8266 Arduino implementation of InterruptLock.
1 parent 862599b commit 708bbc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

DHT.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ class DHT {
7777

7878
};
7979

80-
#if !defined(ESP8266)
80+
#if defined(ESP8266)
81+
using esp8266::InterruptLock;
82+
#else
8183
* @brief Class that defines Interrupt Lock Avaiability
8284
*/
8385
class InterruptLock {

0 commit comments

Comments
 (0)