fix(v14): SYS/MDL keys not working (#7479)
This commit is contained in:
@@ -33,6 +33,9 @@
|
||||
#if defined(MANUFACTURER_RADIOMASTER) && !defined(RADIO_T8)
|
||||
#define NAVIGATION_X7_RM
|
||||
#endif
|
||||
#if defined(MANUFACTURER_HELLORADIOSKY)
|
||||
#define NAVIGATION_X7_HRS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(NAVIGATION_X7) || defined(NAVIGATION_X9D)
|
||||
@@ -55,7 +58,7 @@
|
||||
#define EVT_KEY_MODEL_MENU EVT_KEY_BREAK(KEY_MODEL)
|
||||
#define EVT_KEY_GENERAL_MENU EVT_KEY_BREAK(KEY_SYS)
|
||||
#define EVT_KEY_TELEMETRY EVT_KEY_LONG(KEY_PAGEUP)
|
||||
#elif defined(NAVIGATION_X7_RM)
|
||||
#elif defined(NAVIGATION_X7_RM) || defined(NAVIGATION_X7_HRS)
|
||||
#define EVT_KEY_PREVIOUS_VIEW EVT_KEY_BREAK(KEY_PAGEUP)
|
||||
#define EVT_KEY_NEXT_VIEW EVT_KEY_BREAK(KEY_PAGEDN)
|
||||
#define EVT_KEY_NEXT_PAGE EVT_ROTARY_RIGHT
|
||||
|
||||
@@ -382,6 +382,7 @@ elseif(PCB STREQUAL X7)
|
||||
set(ROTARY_ENCODER YES)
|
||||
set(USB_CHARGER YES)
|
||||
add_definitions(-DSTM32_SUPPORT_32BIT_TIMERS)
|
||||
add_definitions(-DMANUFACTURER_HELLORADIOSKY)
|
||||
set(PXX2 ON)
|
||||
set(ENABLE_SERIAL_PASSTHROUGH ON CACHE BOOL "Enable serial passthrough")
|
||||
set(CSD203_SENSOR ON)
|
||||
|
||||
Reference in New Issue
Block a user