Skip to content

Commit

Permalink
Merge pull request #512 from NerduMiner/camservice-fix
Browse files Browse the repository at this point in the history
Index with iterator value rather than getSingleIndex() in CAMService::startCapture
  • Loading branch information
wheremyfoodat authored May 11, 2024
2 parents 9a50a57 + 2f9d5e3 commit 2cf4563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/services/cam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 2cf4563

Please sign in to comment.