We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b2e81c commit b804747Copy full SHA for b804747
tools/tino2cal_v01.py
@@ -120,7 +120,7 @@ def crc16(data):
120
def read_raw(port):
121
raw_line=""
122
if port.inWaiting() > 0:
123
- time.sleep(0.05)
+ #time.sleep(0.05)
124
if not monitor_mode:
125
raw_line = port.read(port.inWaiting())
126
if b'\r\n' not in raw_line[-2:]:
@@ -131,7 +131,7 @@ def read_raw(port):
131
raw_line += port.read(port.inWaiting())
132
if b'\r\n' in raw_line[-2:]: done = True
133
else:
134
- time.sleep(.01)
+ time.sleep(.001)
135
if time.time() - ts > 1:
136
print("rx timeout")
137
break;
0 commit comments