mirror of https://github.com/ArduPilot/ardupilot
AP_Periph: fix can mirroring
This commit is contained in:
parent
c5ebff5674
commit
81d7240bd9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue