PTME Bandwidth Allocation Table #495
@ -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