Bsongis/frsky xlite (#5574)

FrSky X-Lite support added
This commit is contained in:
Bertrand Songis
2018-01-02 14:36:48 +01:00
committed by GitHub
parent 269831e0c4
commit c4001c8507
85 changed files with 1555 additions and 976 deletions
+8 -2
View File
@@ -141,16 +141,22 @@ void getSwitchesPosition(bool startup)
uint64_t newPos = 0;
CHECK_3POS(0, SW_SA);
CHECK_3POS(1, SW_SB);
#if !defined(PCBXLITE)
CHECK_3POS(2, SW_SC);
CHECK_3POS(3, SW_SD);
#if !defined(PCBX7)
#endif
#if !defined(PCBX7) && !defined(PCBXLITE)
CHECK_3POS(4, SW_SE);
#endif
#if !defined(PCBXLITE)
CHECK_2POS(SW_SF);
#if !defined(PCBX7)
#endif
#if !defined(PCBX7) && !defined(PCBXLITE)
CHECK_3POS(5, SW_SG);
#endif
#if !defined(PCBXLITE)
CHECK_2POS(SW_SH);
#endif
#if defined(PCBX9E)
CHECK_3POS(6, SW_SI);
CHECK_3POS(7, SW_SJ);