Browse Source

Better debugging

QGC4.4
DonLakeFlyer 7 years ago
parent
commit
6ea8d6818e
  1. 2
      src/AnalyzeView/LogDownloadController.cc

2
src/AnalyzeView/LogDownloadController.cc

@ -320,7 +320,7 @@ LogDownloadController::_logData(UASInterface* uas, uint32_t ofs, uint16_t id, ui @@ -320,7 +320,7 @@ LogDownloadController::_logData(UASInterface* uas, uint32_t ofs, uint16_t id, ui
if(ofs <= _downloadData->entry->size()) {
const uint32_t chunk = ofs / kChunkSize;
if (chunk != _downloadData->current_chunk) {
qWarning() << "Ignored packet for out of order chunk" << chunk;
qWarning() << "Ignored packet for out of order chunk actual:expected" << chunk << _downloadData->current_chunk;
return;
}
const uint16_t bin = (ofs - chunk*kChunkSize) / MAVLINK_MSG_LOG_DATA_FIELD_DATA_LEN;

Loading…
Cancel
Save