examples/bluetooth: Update to use positional-only args to irq().

To match 6a6a5f9e15.
This commit is contained in:
Jim Mussared
2020-09-25 03:15:22 +10:00
parent 9123b67d64
commit 0fd0eb00aa
5 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ class BLETemperature:
def __init__(self, ble, name="mpy-temp"):
self._ble = ble
self._ble.active(True)
self._ble.irq(handler=self._irq)
self._ble.irq(self._irq)
((self._handle,),) = self._ble.gatts_register_services((_ENV_SENSE_SERVICE,))
self._connections = set()
self._payload = advertising_payload(