aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-06-16 09:22:22 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-06-16 09:22:22 +0000
commitc3150eb13679314f8bfc02714ae0027dd1658002 (patch)
treeccb186462f6402db2fd8acded21d103519a58905 /demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB
parent77a63206e770cb4a73abf3063ce381fa8de4705b (diff)
downloadChibiOS-c3150eb13679314f8bfc02714ae0027dd1658002.tar.gz
ChibiOS-c3150eb13679314f8bfc02714ae0027dd1658002.tar.bz2
ChibiOS-c3150eb13679314f8bfc02714ae0027dd1658002.zip
USB fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9628 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB')
-rw-r--r--demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c
index 13a2e7ee3..949321a59 100644
--- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c
+++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/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();