Skip to content

Commit 2cd0d58

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 2d5b60f commit 2cd0d58

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
@@ -24,6 +24,7 @@
2424
#include <interrupts.h>
2525
#endif
2626

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

@@ -93,9 +94,7 @@ class DHT {
9394
uint32_t expectPulse(bool level);
9495
};
9596

96-
#if defined(ESP8266)
97-
using esp8266::InterruptLock;
98-
#else
97+
#if !defined(ESP8266)
9998
/*!
10099
* @brief Class that defines Interrupt Lock Avaiability
101100
*/

0 commit comments

Comments
 (0)