From a7908afd8b3ddc42aa74ab6c20ba8d8a20ea4b9a Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sat, 2 Jan 2016 16:27:18 +0100 Subject: [PATCH] CallDistanceTransceiver.py: reset modem.ring_count before receiving --- src/savemysugar/CallDistanceTransceiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/savemysugar/CallDistanceTransceiver.py b/src/savemysugar/CallDistanceTransceiver.py index 3cc4a12..bfae0b6 100755 --- 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) -- 2.1.4