From 600d9dbf22deb4ad300152b6a77f8d1b99fb1fbe Mon Sep 17 00:00:00 2001 From: Stefan de Bruijn Date: Tue, 3 Aug 2021 10:30:34 +0200 Subject: [PATCH] Fixed minor bug --- Grbl_Esp32/src/Pin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }