VFAS is now cell voltage

This commit is contained in:
borisbstyle 2016-02-21 13:31:22 +01:00
parent 3842950639
commit a1f30841c0
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ void handleSmartPortTelemetry(void)
#endif
case FSSP_DATAID_VFAS :
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;
}
break;