small bugfix
This commit is contained in:
parent
61d7c61852
commit
6487c88fc9
@ -175,7 +175,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);
|
||||||
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