diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-16 17:10:11 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-16 17:10:11 +0200 |
commit | 9b2370e3873d65b65fd2dc2257beed50df6ac892 (patch) | |
tree | 2b9e2c866ef4458d8c77ca627d2d92cdb56c9566 | |
parent | 7926a1f8aed851d8ac22538279c11660dc645f20 (diff) | |
download | px4-firmware-9b2370e3873d65b65fd2dc2257beed50df6ac892.tar.gz px4-firmware-9b2370e3873d65b65fd2dc2257beed50df6ac892.tar.bz2 px4-firmware-9b2370e3873d65b65fd2dc2257beed50df6ac892.zip |
mavlink app: Fix compile error
-rw-r--r-- | src/modules/mavlink/mavlink_main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/mavlink/mavlink_main.cpp b/src/modules/mavlink/mavlink_main.cpp index 340b20e1b..e9932aac3 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -1483,9 +1483,9 @@ void Mavlink::mavlink_wpm_message_handler(const mavlink_message_t *msg) void Mavlink::mavlink_missionlib_send_message(mavlink_message_t *msg) { - uint8_t missionlib_msg_buf[MAVLINK_MAX_PACKET_LEN]; + uint8_t buf[MAVLINK_MAX_PACKET_LEN]; - uint16_t len = mavlink_msg_to_send_buffer(missionlib_msg_buf, msg); + uint16_t len = mavlink_msg_to_send_buffer(buf, msg); mavlink_send_uart_bytes(_channel, buf, len); } |