mirror of
https://github.com/meshtastic/python.git
synced 2026-05-19 05:46:14 -04:00
Allow a faster nodedb-less startup on 2.3.11+ with --no-nodes and the magic value from meshtastic/firmware#3949
This commit is contained in:
@@ -17,6 +17,7 @@ class TCPInterface(StreamInterface):
|
||||
noProto=False,
|
||||
connectNow=True,
|
||||
portNumber=4403,
|
||||
noNodes:bool=False,
|
||||
):
|
||||
"""Constructor, opens a connection to a specified IP address/hostname
|
||||
|
||||
@@ -38,7 +39,7 @@ class TCPInterface(StreamInterface):
|
||||
self.socket = None
|
||||
|
||||
StreamInterface.__init__(
|
||||
self, debugOut=debugOut, noProto=noProto, connectNow=connectNow
|
||||
self, debugOut=debugOut, noProto=noProto, connectNow=connectNow, noNodes=noNodes
|
||||
)
|
||||
|
||||
def _socket_shutdown(self):
|
||||
|
||||
Reference in New Issue
Block a user