mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 08:53:35 +08:00
battery_status: naming consistency current_filtered_a -> current_average_a
This commit is contained in:
@@ -169,7 +169,7 @@ void Batmon::RunImpl()
|
||||
|
||||
float average_current = (-1.0f * ((float)(*(int16_t *)&result)) / 1000.0f);
|
||||
|
||||
new_report.average_current_a = average_current;
|
||||
new_report.current_average_a = average_current;
|
||||
|
||||
// Read run time to empty (minutes).
|
||||
ret |= _interface->read_word(BATT_SMBUS_RUN_TIME_TO_EMPTY, result);
|
||||
|
||||
Reference in New Issue
Block a user