remove duplicate bat_msg.id

This commit is contained in:
Daniel Agar
2016-04-11 18:01:48 +02:00
committed by Julian Oes
parent c494e85095
commit 56dbfef378
-1
View File
@@ -601,7 +601,6 @@ protected:
/* battery status message with higher resolution */
mavlink_battery_status_t bat_msg;
bat_msg.id = 0;
bat_msg.id = 0;
bat_msg.battery_function = MAV_BATTERY_FUNCTION_ALL;
bat_msg.type = MAV_BATTERY_TYPE_LIPO;
bat_msg.temperature = INT16_MAX;