AP_Periph: fix can mirroring

This commit is contained in:
Michael du Breuil 2024-01-22 10:45:27 -07:00 committed by Peter Barker
parent c5ebff5674
commit 81d7240bd9
1 changed files with 1 additions and 1 deletions

View File

@ -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);