diff --git a/Platformio/hardware/ESP32/keypad_keys_hal_esp32.cpp b/Platformio/hardware/ESP32/keypad_keys_hal_esp32.cpp index 2ef31bac..8a034ebe 100644 --- a/Platformio/hardware/ESP32/keypad_keys_hal_esp32.cpp +++ b/Platformio/hardware/ESP32/keypad_keys_hal_esp32.cpp @@ -66,7 +66,7 @@ struct keypad_key { keypad_keyStates kstate; boolean stateChanged; }; -keypad_key keys[10]; +keypad_key keys[LIST_MAX]; void keys_getKeys_HAL(void* ptr) { customKeypad.getKeys();