mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: battery status reports fault bitmask
This commit is contained in:
parent
dea7e969bd
commit
d0747c5f20
|
@ -306,7 +306,7 @@ void GCS_MAVLINK::send_battery_status(const uint8_t instance) const
|
|||
battery.get_mavlink_charge_state(instance), // battery charge state
|
||||
cell_volts_ext, // Cell 11..14 voltages
|
||||
0, // battery mode
|
||||
0); // fault_bitmask
|
||||
battery.get_mavlink_fault_bitmask(instance)); // fault_bitmask
|
||||
#else
|
||||
(void)instance;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue