battery_status: naming consistency current_filtered_a -> current_average_a

This commit is contained in:
Matthias Grob
2021-07-01 14:24:38 +02:00
parent 41cc73e555
commit 9c0c85c9e2
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ void BATT_SMBUS::RunImpl()
float average_current = (-1.0f * ((float)(*(int16_t *)&result)) / 1000.0f) * _c_mult;
new_report.average_current_a = average_current;
new_report.current_average_a = average_current;
// If current is high, turn under voltage protection off. This is neccessary to prevent
// a battery from cutting off while flying with high current near the end of the packs capacity.