Add REGA Alarm call functionality
This commit is contained in:
@@ -438,6 +438,10 @@ const t_sidefunction gSubMenu_SIDEFUNCTIONS[] =
|
||||
#endif
|
||||
#ifdef ENABLE_TX1750
|
||||
{"1750Hz", ACTION_OPT_1750},
|
||||
#endif
|
||||
#ifdef ENABLE_REGA
|
||||
{"REGA\nALARM", ACTION_OPT_REGA_ALARM},
|
||||
{"REGA\nTEST", ACTION_OPT_REGA_TEST},
|
||||
#endif
|
||||
{"LOCK\nKEYPAD", ACTION_OPT_KEYLOCK},
|
||||
{"VFO A\nVFO B", ACTION_OPT_A_B},
|
||||
|
7
ui/ui.c
7
ui/ui.c
@@ -30,6 +30,9 @@
|
||||
#ifdef ENABLE_FMRADIO
|
||||
#include "ui/fmradio.h"
|
||||
#endif
|
||||
#ifdef ENABLE_REGA
|
||||
#include "app/rega.h"
|
||||
#endif
|
||||
#include "ui/inputbox.h"
|
||||
#include "ui/main.h"
|
||||
#include "ui/menu.h"
|
||||
@@ -57,6 +60,10 @@ void (*UI_DisplayFunctions[])(void) = {
|
||||
#ifdef ENABLE_AIRCOPY
|
||||
[DISPLAY_AIRCOPY] = &UI_DisplayAircopy,
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_REGA
|
||||
[DISPLAY_REGA] = &UI_DisplayREGA,
|
||||
#endif
|
||||
};
|
||||
|
||||
static_assert(ARRAY_SIZE(UI_DisplayFunctions) == DISPLAY_N_ELEM);
|
||||
|
Reference in New Issue
Block a user