From 5b6be614e1d2bd9a20dabf56435655928ce95fd2 Mon Sep 17 00:00:00 2001 From: Vladimir Ermakov Date: Wed, 10 Sep 2014 21:39:53 +0400 Subject: [PATCH] FTP: remove padding zeroing. --- src/uas/QGCUASFileManager.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/uas/QGCUASFileManager.cc b/src/uas/QGCUASFileManager.cc index d0c977f7d..526aa211d 100644 --- a/src/uas/QGCUASFileManager.cc +++ b/src/uas/QGCUASFileManager.cc @@ -475,8 +475,6 @@ void QGCUASFileManager::_sendRequest(Request* request) _lastOutgoingSeqNumber++; request->hdr.seqNumber = _lastOutgoingSeqNumber; - request->hdr.padding[0] = 0; - request->hdr.padding[1] = 0; if (_systemIdQGC == 0) { _systemIdQGC = MainWindow::instance()->getMAVLink()->getSystemId(); -- 2.22.0