summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/stm32/usb_endpoints.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/stm32/usb_endpoints.S b/chip/stm32/usb_endpoints.S
index cc13cadeb3..25ee68f3b7 100644
--- a/chip/stm32/usb_endpoints.S
+++ b/chip/stm32/usb_endpoints.S
@@ -103,5 +103,6 @@ interface 7
/* Undefined interface callbacks fail by returning non-zero*/
iface_undefined:
mov r0, #1
+.thumb_func
ep_undefined:
bx lr