From 22281708921e4373637c1d71004222aa7c08cb9d Mon Sep 17 00:00:00 2001 From: Alex Harvey Date: Thu, 10 Feb 2022 13:56:59 -0800 Subject: [PATCH 1/2] Update adafruit_ble_radio.py Fix missing timeout param documentation for receive. (present is receive_full but not receive). --- adafruit_ble_radio.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adafruit_ble_radio.py b/adafruit_ble_radio.py index 8d0b56f..1dc2a7e 100644 --- a/adafruit_ble_radio.py +++ b/adafruit_ble_radio.py @@ -146,6 +146,8 @@ def receive(self, timeout=1): """ Returns a message received on the channel on which the radio is listening. + + :param float timeout: The length of time (in seconds) the radio listens for a broadcast :return: A string representation of the received message, or else None. """ From 8ab443a68375e8cdf93c7c7dace58e438658cc0e Mon Sep 17 00:00:00 2001 From: foamyguy Date: Thu, 17 Feb 2022 19:45:16 -0600 Subject: [PATCH 2/2] code format --- adafruit_ble_radio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_ble_radio.py b/adafruit_ble_radio.py index 1dc2a7e..ca0702d 100644 --- a/adafruit_ble_radio.py +++ b/adafruit_ble_radio.py @@ -146,7 +146,7 @@ def receive(self, timeout=1): """ Returns a message received on the channel on which the radio is listening. - + :param float timeout: The length of time (in seconds) the radio listens for a broadcast :return: A string representation of the received message, or else None.