|
|
|
@ -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; |
|
|
|
|