Skip to content

Commit

Permalink
Fix SerialModule getting packet from ourselves (#5206)
Browse files Browse the repository at this point in the history
  • Loading branch information
GUVWAF authored and caveman99 committed Nov 3, 2024
1 parent 40a5ed0 commit 14325eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/SerialModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
// 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
Expand Down

0 comments on commit 14325eb

Please sign in to comment.