Skip to content

Commit 1f51231

Browse files
authored
Merge pull request #6101 from prplz/usb-hid-typing-fix
Fix usb_hid.Device constructor typing
2 parents a13c320 + 1fe9eea commit 1f51231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/usb_hid/Device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
//| class Device:
3232
//| """HID Device specification"""
3333
//|
34-
//| def __init__(self, *, descriptor: ReadableBuffer, usage_page: int, usage: int, report_ids: Sequence[int], in_report_lengths: Sequence[int], out_report_lengths: Sequence[int]) -> None:
34+
//| def __init__(self, *, report_descriptor: ReadableBuffer, usage_page: int, usage: int, report_ids: Sequence[int], in_report_lengths: Sequence[int], out_report_lengths: Sequence[int]) -> None:
3535
//| """Create a description of a USB HID device. The actual device is created when you
3636
//| pass a `Device` to `usb_hid.enable()`.
3737
//|

0 commit comments

Comments
 (0)