merge a message

This commit is contained in:
Jeff Epler 2022-11-08 14:36:35 -06:00
parent 284ac21f51
commit 6ac2022093
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ STATIC mp_obj_t usb_hid_device_make_new(const mp_obj_type_t *type, size_t n_args
} }
if (report_ids_array[0] == 0 && report_ids_count > 1) { if (report_ids_array[0] == 0 && report_ids_count > 1) {
mp_raise_ValueError_varg(translate("%q with a report ID of 0 must be of length 1"), MP_QSTR_report_ids); mp_raise_ValueError_varg(translate("%q length must be %d"), MP_QSTR_report_id_space_0, 1);
} }
common_hal_usb_hid_device_construct( common_hal_usb_hid_device_construct(