bluetooth/aioble/examples/temp_sensor.py: Sets timeout to none.

Signed-off-by: Stephen More <stephen.more@gmail.com>
Stephen More 2024-03-25 16:10:09 -04:00
rodzic 133161368e
commit cb89e335eb
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -55,7 +55,7 @@ async def peripheral_task():
appearance=_ADV_APPEARANCE_GENERIC_THERMOMETER,
) as connection:
print("Connection from", connection.device)
await connection.disconnected()
await connection.disconnected(timeout_ms=None)
# Run both tasks.