From 7c2755db268b9bafcb86b527d695cde7afd4e839 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sat, 18 Mar 2023 15:30:24 +0100 Subject: [PATCH] not sure this is correct.. --- linux/ipcore/PapbVcInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux/ipcore/PapbVcInterface.cpp b/linux/ipcore/PapbVcInterface.cpp index 51afc15d..faebbae8 100644 --- a/linux/ipcore/PapbVcInterface.cpp +++ b/linux/ipcore/PapbVcInterface.cpp @@ -21,6 +21,8 @@ ReturnValue_t PapbVcInterface::initialize() { ReturnValue_t PapbVcInterface::write(const uint8_t* data, size_t size) { if (pollPapbBusySignal() == returnvalue::OK) { startPacketTransfer(); + } else { + return PAPB_BUSY; } for (size_t idx = 0; idx < size; idx++) { if (pollPapbBusySignal() == returnvalue::OK) {