Removed delay
This commit is contained in:
parent
14bdcaf770
commit
d334613888
@ -152,10 +152,6 @@ class LocalClientInterface(Interface):
|
|||||||
|
|
||||||
def processOutgoing(self, data):
|
def processOutgoing(self, data):
|
||||||
if self.online:
|
if self.online:
|
||||||
# TODO: Reset maybe?
|
|
||||||
while self.writing:
|
|
||||||
time.sleep(0.0005)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.writing = True
|
self.writing = True
|
||||||
data = bytes([HDLC.FLAG])+HDLC.escape(data)+bytes([HDLC.FLAG])
|
data = bytes([HDLC.FLAG])+HDLC.escape(data)+bytes([HDLC.FLAG])
|
||||||
|
Loading…
Reference in New Issue
Block a user