mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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
|
battery.get_mavlink_charge_state(instance), // battery charge state
|
||||||
cell_volts_ext, // Cell 11..14 voltages
|
cell_volts_ext, // Cell 11..14 voltages
|
||||||
0, // battery mode
|
0, // battery mode
|
||||||
0); // fault_bitmask
|
battery.get_mavlink_fault_bitmask(instance)); // fault_bitmask
|
||||||
#else
|
#else
|
||||||
(void)instance;
|
(void)instance;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user