mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 05:45:31 +03:00
VFAS is now cell voltage
This commit is contained in:
parent
3842950639
commit
a1f30841c0
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ void handleSmartPortTelemetry(void)
|
||||||
#endif
|
#endif
|
||||||
case FSSP_DATAID_VFAS :
|
case FSSP_DATAID_VFAS :
|
||||||
if (feature(FEATURE_VBAT)) {
|
if (feature(FEATURE_VBAT)) {
|
||||||
smartPortSendPackage(id, vbat * 10); // given in 0.1V, convert to volts
|
smartPortSendPackage(id, (vbat / batteryCellCount) * 10); // given in 0.1V, convert to volts
|
||||||
smartPortHasRequest = 0;
|
smartPortHasRequest = 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue