clean up debug msgs

This commit is contained in:
Kevin Hester
2020-12-13 15:59:26 +08:00
parent ee8f4de5ab
commit e80c79edbe
9 changed files with 34 additions and 23 deletions

View File

@@ -38,8 +38,7 @@ void FloodingRouter::sniffReceived(const MeshPacket *p)
tosend->hop_limit--; // bump down the hop count
DEBUG_MSG("Rebroadcasting received floodmsg to neighbors, fr=0x%x,to=0x%x,id=%d,hop_limit=%d\n", p->from, p->to,
p->id, tosend->hop_limit);
printPacket("Rebroadcasting received floodmsg to neighbors", p);
// Note: we are careful to resend using the original senders node id
// We are careful not to call our hooked version of send() - because we don't want to check this again
Router::send(tosend);