Skip to content

Commit 7d2c097

Browse files
author
=Dale Weber
committed
Updated the doc string to include the new return value and what it means.
True = success, False = the send timed out.
1 parent 92cdfc8 commit 7d2c097

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_rfm69.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,8 @@ def send(self, data, timeout=2., keep_listening=False,
687687
The timeout is just to prevent a hang (arbitrarily set to 2 seconds)
688688
The keep_listening argument should be set to True if you want to start listening
689689
automatically after the packet is sent. The default setting is False.
690+
691+
Returns: True if success or False if the send timed out.
690692
"""
691693
# Disable pylint warning to not use length as a check for zero.
692694
# This is a puzzling warning as the below code is clearly the most

0 commit comments

Comments
 (0)