added p60 dock hk table local pool

This commit is contained in:
2021-02-12 10:20:39 +01:00
parent 6dcfd88136
commit 2c4bd9ba10
7 changed files with 360 additions and 35 deletions

View File

@ -201,6 +201,7 @@ ReturnValue_t CspComIF::cspTransfer(uint8_t cspAddress, uint8_t cspPort,
sif::error << "CspComIF::cspTransfer: Reply buffer to short" << std::endl;
return RETURN_FAILED;
}
sif::debug << "CspComIF::cspTransfer: Received " << reply->length << " bytes" << std::endl;
memcpy(replyBuffer + bytesRead, reply->data, reply->length);
expectedSize = expectedSize - reply->length;
bytesRead += reply->length;
@ -209,6 +210,7 @@ ReturnValue_t CspComIF::cspTransfer(uint8_t cspAddress, uint8_t cspPort,
if(expectedSize != 0){
sif::error << "CspComIF::cspTransfer: Received more bytes than requested" << std::endl;
sif::error << "CspComIF::cspTransfer: Bytes read " << bytesRead << std::endl;
return RETURN_FAILED;
}