projects
/
SaveMySugar
/
python3-savemysugar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4f0ba97
)
CallDistanceTransceiver.py: reset modem.ring_count before receiving
author
Antonio Ospite <ao2@ao2.it>
Sat, 2 Jan 2016 15:27:18 +0000
(16:27 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Mon, 4 Jan 2016 09:48:25 +0000
(10:48 +0100)
src/savemysugar/CallDistanceTransceiver.py
patch
|
blob
|
history
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)