Skip to content

Commit

Permalink
AP_BattMonitor: FuelLevel_Ananlog: set has_current true so capacity i…
Browse files Browse the repository at this point in the history
…s reported
  • Loading branch information
IamPete1 authored and tridge committed May 21, 2024
1 parent b91544b commit 44bd77d
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 44bd77d

Please sign in to comment.