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 a15c387 commit 8993375Copy full SHA for 8993375
servercom/irrx.py
@@ -54,7 +54,7 @@ def wait_for_bell():
54
# Read until BELL
55
print("*", end="")
56
while decode_chunk(decoder, pulsein) != b'\x07':
57
- t_wd.reset()
+ pass
58
return True
59
60
if not wait_for_bell():
@@ -66,7 +66,7 @@ def receive_the_thing():
66
buf = b'\x07'
67
# Read until no BELL
68
69
- while buf == b'\x07':
+ while buf == b'\x07' or buf == b'':
70
buf = decode_chunk(decoder, pulsein)
71
t_wd.reset()
72
# Figure out datagram length
0 commit comments