pull/117/head
geeksville 2020-05-01 08:31:52 -07:00
rodzic 49a13bbfd3
commit 82c1752d85
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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();

Wyświetl plik

@ -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) {