Skip to content

Commit 2f07b53

Browse files
committed
Revert "Align with namespace change in ESP8266 Arduino implementation of InterruptLock."
Until next release of ESP8266 Arduino, the accompanying fix for the same issue there is not available to use - undo this revert when time comes. This reverts commit 65b884a.
1 parent 6d1bdff commit 2f07b53

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

DHT.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include <interrupts.h>
2424
#endif
2525

26+
2627
/* Uncomment to enable printing out nice debug messages. */
2728
//#define DHT_DEBUG
2829

@@ -76,9 +77,7 @@ class DHT {
7677

7778
};
7879

79-
#if defined(ESP8266)
80-
using esp8266::InterruptLock;
81-
#else
80+
#if !defined(ESP8266)
8281
/*!
8382
* @brief Class that defines Interrupt Lock Avaiability
8483
*/

0 commit comments

Comments
 (0)