Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_BattMonitor: FuelLevel_Analog: set has_current true so capacity is reported #27099

Merged
merged 1 commit into from
May 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libraries/AP_BattMonitor/AP_BattMonitor_FuelLevel_Analog.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class AP_BattMonitor_FuelLevel_Analog : public AP_BattMonitor_Backend
// returns true if battery monitor provides consumed energy info
bool has_consumed_energy() const override { return true; }

// returns true if battery monitor provides current info
bool has_current() const override { return false; }
// returns true if battery monitor provides current info (or capacity)
bool has_current() const override { return true; }

void init(void) override {}

Expand Down
Loading