From c2f331467cb652f7ea42644693983f0aa08c21fd Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Thu, 31 Dec 2020 13:58:49 +0100 Subject: [PATCH] UI: Fix bug where key 9 did not work in frequency input --- openrtx/include/interfaces/keyboard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openrtx/include/interfaces/keyboard.h b/openrtx/include/interfaces/keyboard.h index 1ad36afa..72ec26ab 100644 --- a/openrtx/include/interfaces/keyboard.h +++ b/openrtx/include/interfaces/keyboard.h @@ -73,9 +73,9 @@ static const uint16_t kbd_long_interval = OS_CFG_TICK_RATE_HZ * 0.7; /** * Mask for the numeric keys in a key map - * Numeric keys: bit0->bit9 = 0x1FF + * Numeric keys: bit0->bit9 = 0x3FF */ -static const uint32_t kbd_num_mask = 0x1FF; +static const uint32_t kbd_num_mask = 0x3FF; /** * Structure that represents a keyboard event payload