mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_BattMonitor: FuelLevel_Ananlog: set has_current true so capacity is reported
This commit is contained in:
parent
b91544bf05
commit
44bd77d49e
@ -40,8 +40,8 @@ public:
|
|||||||
// returns true if battery monitor provides consumed energy info
|
// returns true if battery monitor provides consumed energy info
|
||||||
bool has_consumed_energy() const override { return true; }
|
bool has_consumed_energy() const override { return true; }
|
||||||
|
|
||||||
// returns true if battery monitor provides current info
|
// returns true if battery monitor provides current info (or capacity)
|
||||||
bool has_current() const override { return false; }
|
bool has_current() const override { return true; }
|
||||||
|
|
||||||
void init(void) override {}
|
void init(void) override {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user