not sure this is correct..
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
parent
0b81a92941
commit
7c2755db26
@ -21,6 +21,8 @@ ReturnValue_t PapbVcInterface::initialize() {
|
|||||||
ReturnValue_t PapbVcInterface::write(const uint8_t* data, size_t size) {
|
ReturnValue_t PapbVcInterface::write(const uint8_t* data, size_t size) {
|
||||||
if (pollPapbBusySignal() == returnvalue::OK) {
|
if (pollPapbBusySignal() == returnvalue::OK) {
|
||||||
startPacketTransfer();
|
startPacketTransfer();
|
||||||
|
} else {
|
||||||
|
return PAPB_BUSY;
|
||||||
}
|
}
|
||||||
for (size_t idx = 0; idx < size; idx++) {
|
for (size_t idx = 0; idx < size; idx++) {
|
||||||
if (pollPapbBusySignal() == returnvalue::OK) {
|
if (pollPapbBusySignal() == returnvalue::OK) {
|
||||||
|
Loading…
Reference in New Issue
Block a user