Browse Source

Merge pull request #3929 from NaterGator/logdlrate

Quickly handle downloading scattered gaps
QGC4.4
Don Gagne 9 years ago committed by GitHub
parent
commit
3f63baf574
  1. 3
      src/ViewWidgets/LogDownloadController.cc

3
src/ViewWidgets/LogDownloadController.cc

@ -365,6 +365,9 @@ LogDownloadController::_logData(UASInterface* uas, uint32_t ofs, uint16_t id, ui @@ -365,6 +365,9 @@ LogDownloadController::_logData(UASInterface* uas, uint32_t ofs, uint16_t id, ui
_requestLogData(_downloadData->ID,
_downloadData->current_chunk*kChunkSize,
_downloadData->chunk_table.size()*MAVLINK_MSG_LOG_DATA_FIELD_DATA_LEN);
} else if (bin < _downloadData->chunk_table.size() - 1 && _downloadData->chunk_table.at(bin+1)) {
// Likely to be grabbing fragments and got to the end of a gap
_findMissingData();
}
} else {
qWarning() << "Error while writing log file chunk";

Loading…
Cancel
Save