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:
parent
90f020f2ff
commit
ac61a5ae5b
2 changed files with 4 additions and 3 deletions
|
@ -234,6 +234,7 @@ void annexCode(void)
|
|||
if (feature(FEATURE_CURRENT_METER)) {
|
||||
updateCurrentMeter(vbatCycleTime);
|
||||
}
|
||||
vbatCycleTime = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue