We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd9ed20 commit 766da4aCopy full SHA for 766da4a
adafruit_ble_beacon.py
@@ -85,7 +85,7 @@ def uuid(self) -> bytes:
85
raise NotImplementedError("Must be implemented in beacon subclass")
86
87
@uuid.setter
88
- def uuid(self, id: bytes) -> None:
+ def uuid(self, uuid: bytes) -> None:
89
90
91
@property
@@ -138,8 +138,8 @@ def uuid(self) -> bytes:
138
return struct.pack(">QQ", uuid_msb, uuid_lsb)
139
140
141
142
- uuid_msb, uuid_lsb = struct.unpack(">QQ", id)
+ uuid_msb, uuid_lsb = struct.unpack(">QQ", uuid)
143
self._set_struct_index(3, uuid_msb)
144
self._set_struct_index(4, uuid_lsb)
145
0 commit comments