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

Fixing current meter, vbatCycleTime was not being reset and the ADC

index was wrong.

See 5cc9750d12
This commit is contained in:
Dominic Clifton 2014-08-06 22:12:18 +01:00
parent 90f020f2ff
commit ac61a5ae5b
2 changed files with 4 additions and 3 deletions

View file

@ -234,6 +234,7 @@ void annexCode(void)
if (feature(FEATURE_CURRENT_METER)) {
updateCurrentMeter(vbatCycleTime);
}
vbatCycleTime = 0;
}
}