Skip to content

Commit 13210d2

Browse files
committed
feature report doc
1 parent a911cbe commit 13210d2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

shared-bindings/usb_hid/Device.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
//| Use a size of ``0`` for a report that is not an OUT report.
5151
//| "OUT" is with respect to the host.
5252
//|
53-
//| ``report_ids``, ``in_report_lengths``, and ``out_report_lengths`` must all be the same length.
53+
//| ``report_ids``, ``in_report_lengths``, and ``out_report_lengths`` must all have the
54+
//| same number of elements.
5455
//|
5556
//| Here is an example of a `Device` with a descriptor that specifies two report IDs, 3 and 4.
5657
//| Report ID 3 sends an IN report of length 5, and receives an OUT report of length 6.
@@ -192,7 +193,7 @@ STATIC mp_obj_t usb_hid_device_send_report(size_t n_args, const mp_obj_t *pos_ar
192193
MP_DEFINE_CONST_FUN_OBJ_KW(usb_hid_device_send_report_obj, 1, usb_hid_device_send_report);
193194

194195
//| def get_last_received_report(self, report_id: Optional[int] = None) -> bytes:
195-
//| """Get the last received HID OUT report for the given report ID.
196+
//| """Get the last received HID OUT or feature report for the given report ID.
196197
//| The report ID may be omitted if there is no report ID, or only one report ID.
197198
//| Return `None` if nothing received.
198199
//| """

0 commit comments

Comments
 (0)