important bugfix for live channel
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2023-06-28 17:20:10 +02:00
parent c6240285e2
commit 9dfdf38822
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
2 changed files with 1 additions and 2 deletions

View File

@ -34,7 +34,6 @@ ReturnValue_t PapbVcInterface::write(const uint8_t* data, size_t size) {
return DirectTmSinkIF::IS_BUSY; return DirectTmSinkIF::IS_BUSY;
} }
for (size_t idx = 0; idx < size; idx++) { for (size_t idx = 0; idx < size; idx++) {
// if (pollInterfaceReadiness(2, false) == returnvalue::OK) {
*(vcBaseReg + DATA_REG_OFFSET) = static_cast<uint32_t>(data[idx]); *(vcBaseReg + DATA_REG_OFFSET) = static_cast<uint32_t>(data[idx]);
} }
completePacketTransfer(); completePacketTransfer();

View File

@ -20,7 +20,7 @@ ReturnValue_t LiveTmTask::performOperation(uint8_t opCode) {
readCommandQueue(); readCommandQueue();
while (true) { while (true) {
bool performWriteOp = true; bool performWriteOp = true;
if (mode == MODE_OFF or ptmeLocked) { if (ptmeLocked) {
performWriteOp = false; performWriteOp = false;
} }