PTME Bandwidth Allocation Table #495

Merged
muellerr merged 13 commits from ptme_bat_priority_enable into develop 2023-03-21 14:44:04 +01:00
Showing only changes of commit 7c2755db26 - Show all commits

View File

@ -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) {