use NB_KEYS

This commit is contained in:
Gwenhael Le Moine 2024-09-18 16:27:27 +02:00
parent 7c2753e49a
commit 1e96858588
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -8,7 +8,7 @@ typedef struct hpkey_t {
bool pressed;
} hpkey_t;
static hpkey_t keyboard[ 49 ] = {
static hpkey_t keyboard[ NB_KEYS ] = {
/* From top left to bottom right */
{0x14, false},
{0x84, false},