T12 to use 9x navigation + navigation refactoring (#6474)
* Move T12 to more suited 9x navigation * Navigation refactoring * Navigation refactoring continued * Channels count in ACCESS mode fix (24 channels max)
This commit is contained in:
@@ -77,7 +77,7 @@ elseif(PCB STREQUAL X7)
|
||||
if(PCBREV STREQUAL T12)
|
||||
set(LUA_EXPORT lua_export_t12)
|
||||
set(FLAVOUR t12)
|
||||
set(NAVIGATION_TYPE xlite)
|
||||
set(NAVIGATION_TYPE 9x)
|
||||
set(MULTIMODULE ON)
|
||||
add_definitions(-DRADIO_T12)
|
||||
else()
|
||||
|
||||
@@ -334,6 +334,10 @@ enum EnumKeys
|
||||
#elif defined(NAVIGATION_XLITE)
|
||||
#define KEY_PLUS KEY_RIGHT
|
||||
#define KEY_MINUS KEY_LEFT
|
||||
#elif defined(NAVIGATION_9X)
|
||||
#define KEY_MENU KEY_ENTER
|
||||
#define KEY_MINUS KEY_DOWN
|
||||
#define KEY_PLUS KEY_UP
|
||||
#else
|
||||
#define KEY_UP KEY_PLUS
|
||||
#define KEY_DOWN KEY_MINUS
|
||||
|
||||
Reference in New Issue
Block a user