mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-19 17:22:59 +00:00
Fix SerialModule getting packet from ourselves (#5206)
This commit is contained in:
@@ -315,7 +315,7 @@ ProcessMessage SerialModuleRadio::handleReceived(const meshtastic_MeshPacket &mp
|
|||||||
// LOG_DEBUG("Received text msg self=0x%0x, from=0x%0x, to=0x%0x, id=%d, msg=%.*s",
|
// LOG_DEBUG("Received text msg self=0x%0x, from=0x%0x, to=0x%0x, id=%d, msg=%.*s",
|
||||||
// nodeDB->getNodeNum(), mp.from, mp.to, mp.id, p.payload.size, p.payload.bytes);
|
// nodeDB->getNodeNum(), mp.from, mp.to, mp.id, p.payload.size, p.payload.bytes);
|
||||||
|
|
||||||
if (!isFromUs(&mp)) {
|
if (isFromUs(&mp)) {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If moduleConfig.serial.echo is true, then echo the packets that are sent out
|
* If moduleConfig.serial.echo is true, then echo the packets that are sent out
|
||||||
|
|||||||
Reference in New Issue
Block a user