This commit is contained in:
parent
e2f0c0f1be
commit
c5683afe9f
@ -51,7 +51,7 @@ ReturnValue_t ScexUartReader::performOperation(uint8_t operationCode) {
|
|||||||
<< ", " << strerror(errno) << "]" << std::endl;
|
<< ", " << strerror(errno) << "]" << std::endl;
|
||||||
break;
|
break;
|
||||||
} else if (bytesRead >= static_cast<int>(recBuf.size())) {
|
} else if (bytesRead >= static_cast<int>(recBuf.size())) {
|
||||||
sif::error << "ScexUartReader::performOperation: Receive buffer too small" << std::endl;
|
sif::error << "ScexUartReader::performOperation: Receive buffer too small for " << bytesRead << " bytes" << std::endl;
|
||||||
} else if (bytesRead > 0) {
|
} else if (bytesRead > 0) {
|
||||||
ReturnValue_t result = dleParser.passData(recBuf.data(), bytesRead);
|
ReturnValue_t result = dleParser.passData(recBuf.data(), bytesRead);
|
||||||
if (debugMode) {
|
if (debugMode) {
|
||||||
|
@ -37,9 +37,9 @@ class ScexUartReader : public SystemObject, // strg+shift+n
|
|||||||
DleEncoder dleEncoder = DleEncoder();
|
DleEncoder dleEncoder = DleEncoder();
|
||||||
SimpleRingBuffer decodeRingBuf;
|
SimpleRingBuffer decodeRingBuf;
|
||||||
|
|
||||||
Countdown finishCoutdown = Countdown(180 * 1000);
|
Countdown finishCountdown = Countdown(180 * 1000);
|
||||||
std::array<uint8_t, 256> cmdbuf = {};
|
std::array<uint8_t, 256> cmdbuf = {};
|
||||||
std::array<uint8_t, 524> recBuf = {};
|
std::array<uint8_t, 4096> recBuf = {};
|
||||||
std::array<uint8_t, 4096> encodedBuf = {};
|
std::array<uint8_t, 4096> encodedBuf = {};
|
||||||
std::array<uint8_t, 4096> decodedBuf = {};
|
std::array<uint8_t, 4096> decodedBuf = {};
|
||||||
std::array<uint8_t, 4096> ipcBuffer = {};
|
std::array<uint8_t, 4096> ipcBuffer = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user