Skip to content

Commit 459ef05

Browse files
committed
fix proper use of keyword argument in recieve()
1 parent 1c55b5d commit 459ef05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ble_radio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def receive(self, timeout=1):
149149
150150
:return: A string representation of the received message, or else None.
151151
"""
152-
msg = self.receive_full(timeout)
152+
msg = self.receive_full(timeout=timeout)
153153
if msg:
154154
return msg[0].decode("utf-8").replace("\x00", "")
155155
return None

0 commit comments

Comments
 (0)