mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-13 16:55:08 +00:00
revert sanity check from PR 898
This commit is contained in:
parent
3981d2e1f6
commit
74c138620a
@ -18,11 +18,15 @@ bool PositionPlugin::handleReceivedProtobuf(const MeshPacket &mp, Position *pptr
|
|||||||
{
|
{
|
||||||
auto p = *pptr;
|
auto p = *pptr;
|
||||||
|
|
||||||
// If inbound message is a replay (or spoof!) of our own messages, do not process
|
// If inbound message is a replay (or spoof!) of our own messages, we shouldn't process
|
||||||
// (why use second-hand sources for our own data?)
|
// (why use second-hand sources for our own data?)
|
||||||
|
|
||||||
|
// FIXME this can in fact happen with packets sent from EUD (src=RX_SRC_USER)
|
||||||
|
// to set fixed location, EUD-GPS location or just the time (see also issue #900)
|
||||||
if (nodeDB.getNodeNum() == getFrom(&mp)) {
|
if (nodeDB.getNodeNum() == getFrom(&mp)) {
|
||||||
DEBUG_MSG("Ignored an incoming update from MYSELF\n");
|
DEBUG_MSG("Incoming update from MYSELF\n");
|
||||||
return false;
|
// DEBUG_MSG("Ignored an incoming update from MYSELF\n");
|
||||||
|
// return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Log packet size and list of fields
|
// Log packet size and list of fields
|
||||||
|
Loading…
Reference in New Issue
Block a user