Skip to content

Commit cb89e33

Browse files
committed
bluetooth/aioble/examples/temp_sensor.py: Sets timeout to none.
Signed-off-by: Stephen More <stephen.more@gmail.com>
1 parent 1331613 commit cb89e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micropython/bluetooth/aioble/examples/temp_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async def peripheral_task():
5555
appearance=_ADV_APPEARANCE_GENERIC_THERMOMETER,
5656
) as connection:
5757
print("Connection from", connection.device)
58-
await connection.disconnected()
58+
await connection.disconnected(timeout_ms=None)
5959

6060

6161
# Run both tasks.

0 commit comments

Comments
 (0)