mirror of https://github.com/ArduPilot/ardupilot
DataFlash: NFC adapt to new AP_Battery method name
This commit is contained in:
parent
7d8aeefee4
commit
3632cd7588
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue