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; }