1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-25 17:25:10 +03:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
85 changed files with 1555 additions and 976 deletions

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);