Skip to content

Commit

Permalink
Plane: fixed MAVLink target IDs in fence point message
Browse files Browse the repository at this point in the history
thanks to Kevin Hester for finding this
  • Loading branch information
Andrew Tridgell committed Mar 12, 2013
1 parent 8b87d36 commit 36ff950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduPlane/GCS_Mavlink.pde
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ mission_failed:
send_text_P(SEVERITY_LOW,PSTR("bad fence point"));
} else {
Vector2l point = get_fence_point_with_index(packet.idx);
mavlink_msg_fence_point_send(chan, 0, 0, packet.idx, g.fence_total,
mavlink_msg_fence_point_send(chan, msg->sysid, msg->compid, packet.idx, g.fence_total,
point.x*1.0e-7, point.y*1.0e-7);
}
break;
Expand Down

0 comments on commit 36ff950

Please sign in to comment.