mirror of
https://github.com/meshtastic/python.git
synced 2026-06-03 13:19:44 -04:00
Removing unnecessary initialization of self.stream in TCPInterface
This commit is contained in:
@@ -46,7 +46,7 @@ class StreamInterface(MeshInterface):
|
||||
raise RuntimeError(
|
||||
"StreamInterface is now abstract (to update existing code create SerialInterface instead)"
|
||||
)
|
||||
self.stream: Optional[serial.Serial] # only serial uses this, TCPInterface overrides the relevant methods instead
|
||||
self.stream: Optional[serial.Serial] = None # only serial uses this, TCPInterface overrides the relevant methods instead
|
||||
self._rxBuf = bytes() # empty
|
||||
self._wantExit = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user