Skip to content

Commit

Permalink
Merge branch 'master' into plugin-store
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed Sep 18, 2023
2 parents 3c3473a + 995e75e commit ab31ed7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mod/control_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,14 +255,13 @@ def dev_desc_cb(dev):
if supports_chain_id:
# use supplied device id
dev_unique_id = dev['chain_id']
dev_uri += "#%d" % dev_unique_id

if dev_uri not in self.hw_counter:
self.hw_counter[dev_uri] = 1
else:
self.hw_counter[dev_uri] += 1

dev_uri += "#%d" % dev_unique_id

elif supports_feedback:
# use connected hw counter as id
if dev_uri not in self.hw_counter or self.hw_counter[dev_uri] == 0:
Expand Down

0 comments on commit ab31ed7

Please sign in to comment.