mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_BattMonitor: add override keyword where required
This commit is contained in:
parent
7e3ca19308
commit
8e30417c38
@ -112,7 +112,7 @@ public:
|
||||
AP_BattMonitor_Analog(AP_BattMonitor &mon, AP_BattMonitor::BattMonitor_State &mon_state, AP_BattMonitor_Params ¶ms);
|
||||
|
||||
/// Read the battery voltage and current. Should be called at 10hz
|
||||
void read();
|
||||
void read() override;
|
||||
|
||||
/// returns true if battery monitor provides consumed energy info
|
||||
bool has_consumed_energy() const override { return has_current(); }
|
||||
|
Loading…
Reference in New Issue
Block a user