Merge pull request #512 from NerduMiner/camservice-fix

Index with iterator value rather than getSingleIndex() in CAMService::startCapture
This commit is contained in:
wheremyfoodat 2024-05-11 20:03:00 +00:00 committed by GitHub
commit 2cf4563533
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -343,7 +343,7 @@ void CAMService::startCapture(u32 messagePointer) {
if (port.isValid()) {
for (int i : port.getPortIndices()) {
auto& event = ports[port.getSingleIndex()].receiveEvent;
auto& event = ports[i].receiveEvent;
// Until we properly implement cameras, immediately signal the receive event
if (event.has_value()) {