AP_BattMonitor: remove voltage2() since we have voltage(x) available

This commit is contained in:
Tom Pittenger 2016-06-02 15:09:06 -07:00
parent 4e4bc0bee4
commit d2c9b02ca5
1 changed files with 0 additions and 3 deletions

View File

@ -83,9 +83,6 @@ public:
float voltage(uint8_t instance) const;
float voltage() const { return voltage(AP_BATT_PRIMARY_INSTANCE); }
// voltage2 - returns the voltage of the second battery (helper function to send 2nd voltage to GCS)
float voltage2() const;
/// current_amps - returns the instantaneous current draw in amperes
float current_amps(uint8_t instance) const;
float current_amps() const { return current_amps(AP_BATT_PRIMARY_INSTANCE); }