Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion radio/src/gui/navigation/navigation.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions radio/src/targets/taranis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down