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
3 changed files with 52 additions and 44 deletions
+3
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