fix(bw): incorrect X-Lite navigation selection (#5244)

This commit is contained in:
philmoz
2024-07-04 18:43:09 +10:00
committed by GitHub
parent 45acf21a70
commit b31c52cb37
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
#elif defined(NAVIGATION_9X)
#include "navigation_9x.cpp"
#elif defined(NAVIGATION_XLITE)
#include "navigation_xlite"
#include "navigation_xlite.cpp"
#elif defined(NAVIGATION_X7)
#include "navigation_x7.cpp"
#else
+2 -2
View File
@@ -106,10 +106,10 @@ enum RotaryEncoderMode {
// Define navigation type based on available keys
#if LCD_W == 212
#define NAVIGATION_X9D
#elif defined(KEYS_GPIO_REG_LEFT)
#define NAVIGATION_9X
#elif defined(KEYS_GPIO_REG_SHIFT)
#define NAVIGATION_XLITE
#elif defined(KEYS_GPIO_REG_LEFT)
#define NAVIGATION_9X
#elif defined(KEYS_GPIO_REG_PAGEUP) && defined(KEYS_GPIO_REG_TELE)
#define NAVIGATION_X7
#define NAVIGATION_X7_TX12