GCS_MAVLink: battery status reports fault bitmask

This commit is contained in:
Randy Mackay 2021-12-06 22:35:10 +09:00 committed by Tom Pittenger
parent dea7e969bd
commit d0747c5f20
1 changed files with 1 additions and 1 deletions

View File

@ -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