From 09be53b24a7511040dab62f0dbf3e9ac785ca26e Mon Sep 17 00:00:00 2001 From: Fred Date: Fri, 30 Oct 2020 22:59:49 +0100 Subject: [PATCH] Fix keyboard variable size --- openrtx/include/interfaces/ui.h | 3 ++- openrtx/src/ui.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/openrtx/include/interfaces/ui.h b/openrtx/include/interfaces/ui.h index f916abcc..29508b5a 100644 --- a/openrtx/include/interfaces/ui.h +++ b/openrtx/include/interfaces/ui.h @@ -22,6 +22,7 @@ #include #include +#include /** * This function initialises the User Interface, starting the @@ -34,7 +35,7 @@ void ui_init(); * current radio state and the keys pressed. * @return true if a screen refresh is needed after the update */ -bool ui_update(state_t state, uint16_t keys); +bool ui_update(state_t state, uint32_t keys); /** * This function terminates the User Interface. diff --git a/openrtx/src/ui.c b/openrtx/src/ui.c index 987487ca..b37b9422 100644 --- a/openrtx/src/ui.c +++ b/openrtx/src/ui.c @@ -61,7 +61,7 @@ void ui_init() { } -bool ui_update(state_t state, uint16_t keys) +bool ui_update(state_t state, uint32_t keys) { return true; }