From b61a00d766c56798333a9ecabaa660a6d4923ec8 Mon Sep 17 00:00:00 2001 From: KlausMu Date: Fri, 13 Dec 2024 07:39:07 +0100 Subject: [PATCH] number replaced by define --- Platformio/hardware/ESP32/keypad_keys_hal_esp32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();