summaryrefslogtreecommitdiff
path: root/extmod/machine_usb_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/machine_usb_device.c')
-rw-r--r--extmod/machine_usb_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/machine_usb_device.c b/extmod/machine_usb_device.c
index 5c4e84c38..5019cd987 100644
--- a/extmod/machine_usb_device.c
+++ b/extmod/machine_usb_device.c
@@ -108,7 +108,7 @@ static mp_obj_t usb_device_submit_xfer(mp_obj_t self, mp_obj_t ep, mp_obj_t buff
//
// This C layer doesn't otherwise keep track of which endpoints the host
// is aware of (or not).
- mp_raise_ValueError("ep");
+ mp_raise_ValueError(MP_ERROR_TEXT("ep"));
}
if (!usbd_edpt_claim(USBD_RHPORT, ep_addr)) {