Skip to content

Commit 29296d5

Browse files
authored
Update hid_services.py
Bug fix
1 parent e48da42 commit 29296d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hid_services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ def start(self):
935935
def write_service_characteristics(self, handles):
936936
super(Keyboard, self).write_service_characteristics(handles) # Call super to write DIS and BAS characteristics.
937937

938-
(h_info, h_hid, _, self.h_rep, _, h_d1, self.h_repout, _ h_d2, h_proto) = handles[2] # Get the handles for the HIDS characteristics. These correspond directly to self.HIDS. Position 2 because of the order of self.services.
938+
(h_info, h_hid, _, self.h_rep, _, h_d1, self.h_repout, _, h_d2, h_proto) = handles[2] # Get the handles for the HIDS characteristics. These correspond directly to self.HIDS. Position 2 because of the order of self.services.
939939

940940
print("Writing hid service characteristics")
941941
# Write service characteristics

0 commit comments

Comments
 (0)