kopia lustrzana https://github.com/meshtastic/firmware
less logspam
rodzic
49a13bbfd3
commit
82c1752d85
|
@ -314,7 +314,7 @@ void MeshService::sendOurPosition(NodeNum dest, bool wantReplies)
|
|||
|
||||
int MeshService::onGPSChanged(void *unused)
|
||||
{
|
||||
DEBUG_MSG("got gps notify\n");
|
||||
// DEBUG_MSG("got gps notify\n");
|
||||
|
||||
// Update our local node info with our position (even if we don't decide to update anyone else)
|
||||
MeshPacket *p = allocForSending();
|
||||
|
|
|
@ -99,7 +99,7 @@ bool FloodingRouter::wasSeenRecently(const MeshPacket *p)
|
|||
BroadcastRecord &r = recentBroadcasts[i];
|
||||
|
||||
if ((now - r.rxTimeMsec) >= FLOOD_EXPIRE_TIME) {
|
||||
DEBUG_MSG("Deleting old broadcast record %d\n", i);
|
||||
// DEBUG_MSG("Deleting old broadcast record %d\n", i);
|
||||
recentBroadcasts.erase(recentBroadcasts.begin() + i); // delete old record
|
||||
} else {
|
||||
if (r.id == p->id && r.sender == p->from) {
|
||||
|
|
Ładowanie…
Reference in New Issue