DataFlash: NFC adapt to new AP_Battery method name

This commit is contained in:
Dr.-Ing. Amilcar Do Carmo Lucas 2018-02-15 17:10:37 +01:00 committed by Francisco Ferreira
parent 7d8aeefee4
commit 3632cd7588
1 changed files with 1 additions and 1 deletions

View File

@ -1564,7 +1564,7 @@ void DataFlash_Class::Log_Write_Current_instance(const uint64_t time_us,
voltage : battery.voltage(battery_instance),
voltage_resting : battery.voltage_resting_estimate(battery_instance),
current_amps : battery.current_amps(battery_instance),
current_total : battery.current_total_mah(battery_instance),
current_total : battery.consumed_mah(battery_instance),
consumed_wh : battery.consumed_wh(battery_instance),
temperature : (int16_t)(has_temp ? (temp * 100) : 0),
resistance : battery.get_resistance(battery_instance)