Skip to content

Commit de8f7b1

Browse files
dhalbertmicrodev1
authored andcommitted
fix error message
1 parent d4ec3e2 commit de8f7b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

locale/circuitpython.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ msgid "%q should be an int"
166166
msgstr ""
167167

168168
#: shared-bindings/usb_hid/Device.c
169-
msgid "%q with a 0 must of length 1"
169+
msgid "%q with a report ID of 0 must be of length 1"
170170
msgstr ""
171171

172172
#: py/bc.c py/objnamedtuple.c

shared-bindings/usb_hid/Device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ STATIC mp_obj_t usb_hid_device_make_new(const mp_obj_type_t *type, size_t n_args
148148
}
149149

150150
if (report_ids_array[0] == 0 && report_ids_count > 1) {
151-
mp_raise_ValueError_varg(translate("%q with a 0 must of length 1"), MP_QSTR_report_ids);
151+
mp_raise_ValueError_varg(translate("%q with a report ID of 0 must be of length 1"), MP_QSTR_report_ids);
152152
}
153153

154154
common_hal_usb_hid_device_construct(

0 commit comments

Comments
 (0)