Fix the mavlink lib's warning
Calculate the buffer length int the function "send_package"