mirror of
https://github.com/meshtastic/python.git
synced 2026-01-03 05:17:55 -05:00
less logspam
This commit is contained in:
@@ -270,7 +270,7 @@ class MeshInterface:
|
||||
meshPacket.id = self._generatePacketId()
|
||||
|
||||
toRadio.packet.CopyFrom(meshPacket)
|
||||
logging.debug(f"Sending packet: {stripnl(meshPacket)}")
|
||||
#logging.debug(f"Sending packet: {stripnl(meshPacket)}")
|
||||
self._sendToRadio(toRadio)
|
||||
return meshPacket
|
||||
|
||||
@@ -493,7 +493,7 @@ class MeshInterface:
|
||||
index = c.index
|
||||
|
||||
# for stress testing, we can always download all channels
|
||||
fastChannelDownload = False
|
||||
fastChannelDownload = True
|
||||
|
||||
# Once we see a response that has NO settings, assume we are at the end of channels and stop fetching
|
||||
quitEarly = (c.role == channel_pb2.Channel.Role.DISABLED) and fastChannelDownload
|
||||
|
||||
Reference in New Issue
Block a user