Skip to content

Commit

Permalink
Fix copy-paste error while refactoring notifications.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rloutrel authored and pfps committed Oct 11, 2024
1 parent 194c385 commit 15659a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logitech_receiver/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _process_receiver_notification(receiver, n):
receiver.changed(reason=reason)
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:
counter = n.address + n.data[0] * 256 # notification counter
if receiver.pairing.counter is None:
Expand Down

0 comments on commit 15659a1

Please sign in to comment.