projects
/
SaveMySugar
/
python3-savemysugar.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CallDistanceTransceiver.py: reset modem.ring_count before receiving
[SaveMySugar/python3-savemysugar.git]
/
src
/
savemysugar
/
CallDistanceTransceiver.py
diff --git
a/src/savemysugar/CallDistanceTransceiver.py
b/src/savemysugar/CallDistanceTransceiver.py
index
3cc4a12
..
bfae0b6
100755
(executable)
--- a/
src/savemysugar/CallDistanceTransceiver.py
+++ b/
src/savemysugar/CallDistanceTransceiver.py
@@
-460,8
+460,8
@@
def test_send_receive():
xcv.transmit("CODEX PARIS", "0")
while True:
- xcv.receive_loop()
modem.ring_count = 0
+ xcv.receive_loop()
print()
print("Message received!")
print("\"%s\"" % xcv.get_text(), flush=True)