aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c')
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c b/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c
index 13a2e7ee3..949321a59 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c
@@ -285,6 +285,8 @@ static void usb_event(USBDriver *usbp, usbevent_t event) {
chSysUnlockFromISR();
return;
+ case USB_EVENT_UNCONFIGURED:
+ return;
case USB_EVENT_SUSPEND:
chSysLockFromISR();