diff options
author | Vladimir Ermakov <vooon341@gmail.com> | 2014-09-10 21:36:08 +0400 |
---|---|---|
committer | Vladimir Ermakov <vooon341@gmail.com> | 2014-09-10 21:36:08 +0400 |
commit | 0e3c6060b6375fa08b6c0087f7aaf2905ea516d0 (patch) | |
tree | 2c20646fd0fe66db95e06b1abcf7ff16106df14c /src/modules | |
parent | ed66097ebc4808587301bd569b5bef6c312800c4 (diff) | |
download | px4-firmware-0e3c6060b6375fa08b6c0087f7aaf2905ea516d0.tar.gz px4-firmware-0e3c6060b6375fa08b6c0087f7aaf2905ea516d0.tar.bz2 px4-firmware-0e3c6060b6375fa08b6c0087f7aaf2905ea516d0.zip |
FTP: remove padding zeroing.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/mavlink/mavlink_ftp.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/mavlink/mavlink_ftp.cpp b/src/modules/mavlink/mavlink_ftp.cpp index a5c96274b..64206ac54 100644 --- a/src/modules/mavlink/mavlink_ftp.cpp +++ b/src/modules/mavlink/mavlink_ftp.cpp @@ -247,8 +247,6 @@ MavlinkFTP::_reply(Request *req) PayloadHeader *payload = reinterpret_cast<PayloadHeader *>(&req->message.payload[0]); payload->seqNumber = payload->seqNumber + 1; - payload->padding[0] = 0; - payload->padding[1] = 0; mavlink_message_t msg; msg.checksum = 0; |