mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 07:45:29 +03:00
Merge pull request #762 from bhuism/master
fix voltage calculation for smartport telemetry
This commit is contained in:
commit
21191c0e14
1 changed files with 1 additions and 2 deletions
|
@ -322,8 +322,7 @@ void handleSmartPortTelemetry(void)
|
|||
break;
|
||||
#endif
|
||||
case FSSP_DATAID_VFAS :
|
||||
smartPortSendPackage(id, vbat * 83); // supposedly given in 0.1V, unknown requested unit
|
||||
// multiplying by 83 seems to make Taranis read correctly
|
||||
smartPortSendPackage(id, vbat * 10); // given in 0.1V, convert to volts
|
||||
smartPortHasRequest = 0;
|
||||
break;
|
||||
case FSSP_DATAID_CURRENT :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue