// If there's an error logging data, raise an alert and stop logging.
emitprotocolStatusMessage(tr("MAVLink Protocol"),tr("MAVLink Logging failed. Could not write to file %1, logging disabled.").arg(_tempLogFile.fileName()));
_stopLogging();
_logSuspendError=true;
}
}
}
/**
* This method parses all incoming bytes and constructs a MAVLink packet.
* It can handle multiple links in parallel, as each link has it's own buffer/