throw out stuff
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
This commit is contained in:
@ -34,7 +34,6 @@ ReturnValue_t PapbVcInterface::write(const uint8_t* data, size_t size, size_t& w
|
||||
}
|
||||
// The user must call advance until completion before starting a new packet transfer.
|
||||
if (writeActiveStatus) {
|
||||
sif::debug << "is busy with writing" << std::endl;
|
||||
return IS_BUSY;
|
||||
}
|
||||
if (size > packetBuf.capacity()) {
|
||||
@ -48,7 +47,6 @@ ReturnValue_t PapbVcInterface::write(const uint8_t* data, size_t size, size_t& w
|
||||
if (pollReadyForPacket()) {
|
||||
startPacketTransfer(ByteWidthCfg::ONE);
|
||||
} else {
|
||||
sif::debug << "is busy can not even start" << std::endl;
|
||||
return DirectTmSinkIF::IS_BUSY;
|
||||
}
|
||||
return advanceWrite(writtenSize);
|
||||
@ -78,7 +76,6 @@ ReturnValue_t PapbVcInterface::advanceWrite(size_t& writtenSize) {
|
||||
if (not pollReadyForPacket()) {
|
||||
return PARTIALLY_WRITTEN;
|
||||
}
|
||||
sif::debug << "aborting unexpectedly" << std::endl;
|
||||
abortPacketTransfer();
|
||||
return returnvalue::FAILED;
|
||||
}
|
||||
|
Reference in New Issue
Block a user