AP_BattMonitor: FuelLevel_Ananlog: set has_current true so capacity is reported

This commit is contained in:
Iampete1 2024-05-19 14:04:17 +01:00 committed by Andrew Tridgell
parent b91544bf05
commit 44bd77d49e
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ public:
// 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 {}