diff --git a/sx1509_library.cpp b/sx1509_library.cpp index 3e8e8e09..eddb20ea 100644 --- a/sx1509_library.cpp +++ b/sx1509_library.cpp @@ -371,9 +371,15 @@ void sx1509Class::debounceConfig(byte configValue) void sx1509Class::debounceEnable(byte pin) { - unsigned int debounceEnable = readWord(REG_DEBOUNCE_ENABLE_B); - debounceEnable |= (1<