added p60 dock hk table local pool
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user