Compare commits
1 Commits
develop
...
mueller/sp
Author | SHA1 | Date | |
---|---|---|---|
b9359ab75c |
@ -174,6 +174,7 @@ ReturnValue_t SpiComIF::performRegularSendOperation(SpiCookie* spiCookie, const
|
|||||||
size_t sendLen) {
|
size_t sendLen) {
|
||||||
address_t spiAddress = spiCookie->getSpiAddress();
|
address_t spiAddress = spiCookie->getSpiAddress();
|
||||||
auto iter = spiDeviceMap.find(spiAddress);
|
auto iter = spiDeviceMap.find(spiAddress);
|
||||||
|
std::memset(iter->second.replyBuffer.data(), 0, sendLen);
|
||||||
if (iter != spiDeviceMap.end()) {
|
if (iter != spiDeviceMap.end()) {
|
||||||
spiCookie->assignReadBuffer(iter->second.replyBuffer.data());
|
spiCookie->assignReadBuffer(iter->second.replyBuffer.data());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user