Skip to content

Commit 6ac2022

Browse files
committed
merge a message
1 parent 284ac21 commit 6ac2022

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
@@ -155,7 +155,7 @@ STATIC mp_obj_t usb_hid_device_make_new(const mp_obj_type_t *type, size_t n_args
155155
}
156156

157157
if (report_ids_array[0] == 0 && report_ids_count > 1) {
158-
mp_raise_ValueError_varg(translate("%q with a report ID of 0 must be of length 1"), MP_QSTR_report_ids);
158+
mp_raise_ValueError_varg(translate("%q length must be %d"), MP_QSTR_report_id_space_0, 1);
159159
}
160160

161161
common_hal_usb_hid_device_construct(

0 commit comments

Comments
 (0)