File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 50
50
//| Use a size of ``0`` for a report that is not an OUT report.
51
51
//| "OUT" is with respect to the host.
52
52
//|
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.
54
55
//|
55
56
//| Here is an example of a `Device` with a descriptor that specifies two report IDs, 3 and 4.
56
57
//| 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
192
193
MP_DEFINE_CONST_FUN_OBJ_KW (usb_hid_device_send_report_obj , 1 , usb_hid_device_send_report );
193
194
194
195
//| 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.
196
197
//| The report ID may be omitted if there is no report ID, or only one report ID.
197
198
//| Return `None` if nothing received.
198
199
//| """
You can’t perform that action at this time.
0 commit comments