diff --git a/Grbl_Esp32/src/Pin.h b/Grbl_Esp32/src/Pin.h index dae6f148..3a433a2e 100644 --- a/Grbl_Esp32/src/Pin.h +++ b/Grbl_Esp32/src/Pin.h @@ -124,8 +124,8 @@ public: return _detail->_index; } - inline IRAM_ATTR void write(bool value) const { _detail->write(value); } - inline void synchronousWrite(bool value) const { _detail->synchronousWrite(value); } + inline void IRAM_ATTR write(bool value) const { _detail->write(value); } + inline void IRAM_ATTR synchronousWrite(bool value) const { _detail->synchronousWrite(value); } inline bool read() const { return _detail->read() != 0; }