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) {
|
||||
address_t spiAddress = spiCookie->getSpiAddress();
|
||||
auto iter = spiDeviceMap.find(spiAddress);
|
||||
std::memset(iter->second.replyBuffer.data(), 0, sendLen);
|
||||
if (iter != spiDeviceMap.end()) {
|
||||
spiCookie->assignReadBuffer(iter->second.replyBuffer.data());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user