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

Bsongis/issue 5896 (#5898)

* Fixes #5896
* No voltage alarm during X-Lite debugging ...
* Some cleanups
This commit is contained in:
Bertrand Songis 2018-05-21 10:40:34 +02:00 committed by GitHub
parent 1b3897a425
commit 993e543162
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 52 additions and 44 deletions

View file

@ -578,6 +578,9 @@ uint16_t anaIn(uint8_t chan)
#elif defined(PCBX9E)
else if (chan == TX_VOLTAGE)
return 1420; //~10.6V
#elif defined(PCBXLITE)
else if (chan == TX_VOLTAGE)
return 1100;
#elif defined(PCBTARANIS)
else if (chan == TX_VOLTAGE)
return 1000; //~7.4V