Fix copy-paste error while refactoring notifications.py

This commit is contained in:
rloutrel 2024-10-11 16:27:37 +02:00 committed by Peter F. Patel-Schneider
parent 194c385824
commit 15659a1ee4
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ def _process_receiver_notification(receiver, n):
receiver.changed(reason=reason) receiver.changed(reason=reason)
return True return True
elif n.sub_id == Registers.DISCOVERY_STATUS_NOTIFICATION: # Bolt pairing elif n.sub_id == Registers.DEVICE_DISCOVERY_NOTIFICATION: # Bolt pairing
with notification_lock: with notification_lock:
counter = n.address + n.data[0] * 256 # notification counter counter = n.address + n.data[0] * 256 # notification counter
if receiver.pairing.counter is None: if receiver.pairing.counter is None: