As X3 is X9LITE PCBX9 should be defined

This commit is contained in:
Bertrand Songis
2019-05-11 18:24:40 +02:00
parent 5d0f00af09
commit 2ad6683c17
9 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ elseif(PCB STREQUAL X3)
set(LUA_EXPORT lua_export_x3)
set(FLAVOUR x3)
add_definitions(-DBOARD_NAME="x9lite")
add_definitions(-DPCBX3 -DSOFTWARE_VOLUME)
add_definitions(-DPCBX3 -DPCBX9 -DSOFTWARE_VOLUME)
add_definitions(-DEEPROM_VARIANT=0x0800)
add_definitions(-DPWR_BUTTON_${PWR_BUTTON})
set(GUI_DIR 128x64)
+4 -4
View File
@@ -347,22 +347,22 @@ enum EnumSwitchesPositions
SW_SD1,
SW_SD2,
#endif
#if defined(PCBX9) || defined(PCBXLITES) || defined(PCBX3)
#if defined(PCBX9) || defined(PCBXLITES)
SW_SE0,
SW_SE1,
SW_SE2,
#endif
#if defined(PCBX9) || defined(PCBX7) || defined(PCBXLITES) || defined(PCBX3)
#if defined(PCBX9) || defined(PCBX7) || defined(PCBXLITES)
SW_SF0,
SW_SF1,
SW_SF2,
#endif
#if defined(PCBX9)
#if defined(PCBX9D) || defined(PCBX9E)
SW_SG0,
SW_SG1,
SW_SG2,
#endif
#if defined(PCBX9) || defined(PCBX7)
#if defined(PCBX9D) || defined(PCBX9E) || defined(PCBX7)
SW_SH0,
SW_SH1,
SW_SH2,