1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Update to Virtual Current Meter fix

now using rc_controls/calculateThrottleStatus()
unneeded dependencies removed.
This commit is contained in:
Jenny 2015-03-11 20:03:25 +00:00
parent 7c2a2a1732
commit 40cc7697fe
3 changed files with 8 additions and 38 deletions

View file

@ -246,7 +246,7 @@ void annexCode(void)
}
if (feature(FEATURE_CURRENT_METER)) {
updateCurrentMeter(vbatCycleTime);
updateCurrentMeter(vbatCycleTime, &masterConfig.rxConfig, masterConfig.flight3DConfig.deadband3d_throttle);
}
vbatCycleTime = 0;
}