fix(v14): SYS/MDL keys not working (#7479)

This commit is contained in:
helloradiosky
2026-07-15 12:27:24 +10:00
committed by GitHub
parent 631c47e499
commit d2609a4fe8
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -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
+1
View File
@@ -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)