Commit 27e727f9 authored by Lorenz Meier's avatar Lorenz Meier

APM: Compile fixes

parent 0138c039
......@@ -134,7 +134,7 @@ void ArduCopterFirmwarePlugin::guidedModeTakeoff(Vehicle* vehicle, double altitu
mavlink_message_t msg;
mavlink_command_long_t cmd = {};
mavlink_command_long_t cmd;
cmd.command = (uint16_t)MAV_CMD_NAV_TAKEOFF;
cmd.confirmation = 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment