Skip to content

Commit

Permalink
AP_Periph: fix can mirroring
Browse files Browse the repository at this point in the history
  • Loading branch information
WickedShell authored and peterbarker committed Apr 4, 2024
1 parent c5ebff5 commit 81d7240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/AP_Periph/can.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ void AP_Periph_FW::processRx(void)
if (other_instance.mirror_queue == nullptr) { // we aren't mirroring here, or failed on memory
continue;
}
if (other_instance.index == ins.index) { // don't self add
if (other_instance.index == instance.index) { // don't self add
continue;
}
other_instance.mirror_queue->push(rxmsg);
Expand Down

0 comments on commit 81d7240

Please sign in to comment.