examples/bluetooth/ble_temperature_central.py: Shorten comment.

So the line length is less than 100 characters.
pull/5700/head
Damien George 2020-02-27 15:29:23 +11:00
rodzic a0441fc15d
commit 3c58d9a1a5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -72,7 +72,7 @@ class BLETemperatureCentral:
if connectable and _ENV_SENSE_UUID in decode_services(adv_data):
# Found a potential device, remember it and stop scanning.
self._addr_type = addr_type
self._addr = bytes(addr) # Note: The addr buffer is owned by modbluetooth, need to copy it.
self._addr = bytes(addr) # Note: addr buffer is owned by caller so need to copy it.
self._name = decode_name(adv_data) or '?'
self._ble.gap_scan(None)