Skip to content

Commit 369a0bb

Browse files
committed
It was found that internal linkage suppresses the effect of the IRAM_ATTR attribute.
This affects the unnamed namespace or static non-member functions.
1 parent c0377f5 commit 369a0bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/esp8266/core_esp8266_wiring_digital.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ extern "C" {
117117
typedef void (*voidFuncPtr)(void);
118118
typedef void (*voidFuncPtrArg)(void*);
119119

120-
namespace
120+
namespace detail
121121
{
122122
struct interrupt_handler_t {
123123
interrupt_handler_t()
@@ -241,7 +241,7 @@ extern "C" {
241241

242242
};
243243

244-
namespace
244+
namespace detail
245245
{
246246
void ICACHE_RAM_ATTR set_interrupt_handlers(uint8_t pin, Delegate<void(), void*>&& userFunc, uint8_t mode)
247247
{

0 commit comments

Comments
 (0)