Browse Source

Fix typo in `add_report_raw`

hid
Josh Koike 4 years ago
parent
commit
f292dc9f86
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      usb_protocol/emitters/descriptors/hid.py

+ 1
- 1
usb_protocol/emitters/descriptors/hid.py View File

@@ -22,7 +22,7 @@ class HIDDescriptor(ComplexDescriptorEmitter):
report_data -- bytes-like or ReportDescriptor to be appended to
the HID report.
"""
self._reports.append(hid_data)
self._reports.append(report_data)

def add_report_item(self, report_prefix, *report_data):
"""Convenience function to add formatted HID report item


Loading…
Cancel
Save