Fix PXX2 on xlite
This commit is contained in:
@@ -147,6 +147,7 @@ elseif(PCB STREQUAL XLITE)
|
||||
add_definitions(-DPCBXLITE -DSOFTWARE_VOLUME -DEXTERNAL_ANTENNA -DSTICKS_PWM)
|
||||
add_definitions(-DEEPROM_VARIANT=0x2000)
|
||||
add_definitions(-DPWR_BUTTON_${PWR_BUTTON})
|
||||
set(PXX2 ON)
|
||||
set(GUI_DIR 128x64)
|
||||
set(NAVIGATION_TYPE xlite)
|
||||
set(BITMAPS_TARGET 9x_bitmaps)
|
||||
|
||||
@@ -535,6 +535,9 @@ extern HardwareOptions hardwareOptions;
|
||||
#elif !defined(PXX1) || defined(PCBXLITES) || defined(PCBX9LITE)
|
||||
#define IS_PXX2_INTERNAL_ENABLED() (true)
|
||||
#define IS_PXX1_INTERNAL_ENABLED() (false)
|
||||
#elif defined(INTERNAL_MODULE_PXX1)
|
||||
#define IS_PXX2_INTERNAL_ENABLED() (false)
|
||||
#define IS_PXX1_INTERNAL_ENABLED() (true)
|
||||
#else
|
||||
// TODO #define PXX2_PROBE
|
||||
// TODO #define IS_PXX2_INTERNAL_ENABLED() (hardwareOptions.pxx2Enabled)
|
||||
|
||||
Reference in New Issue
Block a user