Logical issue: X9DP is NOT an X9D. Will be fixed better when we introduce radio family definitions

This commit is contained in:
Bertrand Songis
2019-05-13 10:02:09 +02:00
parent c2af1efcd4
commit bc04001498
7 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ elseif(PCB STREQUAL X9D+)
set(HAPTIC YES)
set(LUA_EXPORT lua_export_x9d)
set(FLAVOUR x9d+)
add_definitions(-DPCBX9DP -DPCBX9D -DPCBX9)
add_definitions(-DPCBX9DP -DPCBX9)
add_definitions(-DEEPROM_VARIANT=0)
set(GUI_DIR 212x64)
set(NAVIGATION_TYPE x9d)
+2 -2
View File
@@ -357,12 +357,12 @@ enum EnumSwitchesPositions
SW_SF1,
SW_SF2,
#endif
#if defined(PCBX9D) || defined(PCBX9E)
#if defined(PCBX9D) || defined(PCBX9DP) || defined(PCBX9E)
SW_SG0,
SW_SG1,
SW_SG2,
#endif
#if defined(PCBX9D) || defined(PCBX9E) || defined(PCBX7)
#if defined(PCBX9D) || defined(PCBX9DP) || defined(PCBX9E) || defined(PCBX7)
SW_SH0,
SW_SH1,
SW_SH2,