Skip to content

Commit

Permalink
Remove phone nodenum warning and empty else clause (#3756)
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern authored May 1, 2024
1 parent 57da37c commit ec92f7a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/mesh/MeshService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,7 @@ void MeshService::handleToRadio(meshtastic_MeshPacket &p)
}
#endif
if (p.from != 0) { // We don't let phones assign nodenums to their sent messages
LOG_WARN("phone tried to pick a nodenum, we don't allow that.\n");
p.from = 0;
} else {
// p.from = nodeDB->getNodeNum();
}

if (p.id == 0)
Expand Down

0 comments on commit ec92f7a

Please sign in to comment.