Make two error messages sentence case

This commit is contained in:
ajs256 2021-05-10 16:51:13 -07:00
parent 4eb4f14840
commit 7cd8e98962

View File

@ -204,13 +204,13 @@ void common_hal_usb_hid_device_send_report(usb_hid_device_obj_t *self, uint8_t *
} }
if (!tud_hid_ready()) { 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); memcpy(self->in_report_buffer, report, len);
if (!tud_hid_report(self->report_id, self->in_report_buffer, 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"));
} }
} }