We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7c6c18f + 4c7a39a commit 10b3724Copy full SHA for 10b3724
adafruit_ble/services/standard/hid.py
@@ -442,7 +442,7 @@ def get_report_info(collection: Dict, reports: Dict) -> None:
442
usage = collection["locals"][0][0]
443
reports = {}
444
get_report_info(collection, reports)
445
- for report_id, report in reports:
+ for report_id, report in reports.items():
446
output_size = report["output_size"]
447
if output_size > 0:
448
self.devices.append(
@@ -455,7 +455,7 @@ def get_report_info(collection: Dict, reports: Dict) -> None:
455
)
456
457
458
- input_size = reports[report_id]["input_size"]
+ input_size = report["input_size"]
459
if input_size > 0:
460
461
ReportIn(
0 commit comments