From acec45c267b43f27db740718e5491b95680cdbc9 Mon Sep 17 00:00:00 2001 From: Phil1pp <15369870+Phil1pp@users.noreply.github.com> Date: Wed, 7 May 2025 22:00:10 +0200 Subject: [PATCH] Changed tabs to spaces --- src/knx_facade.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/knx_facade.h b/src/knx_facade.h index 55c27ae..d5b12f4 100644 --- a/src/knx_facade.h +++ b/src/knx_facade.h @@ -258,13 +258,13 @@ template class KnxFacade : private SaveRestore _bau.deviceObject().version(value); } - void start() - { - if (_ledPin >= 0) - pinMode(_ledPin, OUTPUT); + void start() + { + if (_ledPin >= 0) + pinMode(_ledPin, OUTPUT); + + progLedOff(); - progLedOff(); - if(_buttonPin >= 0) { pinMode(_buttonPin, INPUT_PULLUP); @@ -272,16 +272,16 @@ template class KnxFacade : private SaveRestore if (_progButtonISRFuncPtr) { // Workaround for https://github.com/arduino/ArduinoCore-samd/issues/587 - #if (ARDUINO_API_VERSION >= 10200) - attachInterrupt(_buttonPin, _progButtonISRFuncPtr, (PinStatus)CHANGE); - #else - attachInterrupt(_buttonPin, _progButtonISRFuncPtr, CHANGE); - #endif +#if (ARDUINO_API_VERSION >= 10200) + attachInterrupt(_buttonPin, _progButtonISRFuncPtr, (PinStatus)CHANGE); +#else + attachInterrupt(_buttonPin, _progButtonISRFuncPtr, CHANGE); +#endif } } - enabled(true); - } + enabled(true); + } void setButtonISRFunction(IsrFunctionPtr progButtonISRFuncPtr) {