Make two error messages sentence case
This commit is contained in:
parent
4eb4f14840
commit
7cd8e98962
@ -204,13 +204,13 @@ void common_hal_usb_hid_device_send_report(usb_hid_device_obj_t *self, uint8_t *
|
||||
}
|
||||
|
||||
if (!tud_hid_ready()) {
|
||||
mp_raise_msg(&mp_type_OSError, translate("USB Busy"));
|
||||
mp_raise_msg(&mp_type_OSError, translate("USB busy"));
|
||||
}
|
||||
|
||||
memcpy(self->in_report_buffer, report, len);
|
||||
|
||||
if (!tud_hid_report(self->report_id, self->in_report_buffer, len)) {
|
||||
mp_raise_msg(&mp_type_OSError, translate("USB Error"));
|
||||
mp_raise_msg(&mp_type_OSError, translate("USB brror"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user