diff options
author | Dave Hylands <dhylands@gmail.com> | 2015-11-25 17:09:44 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-11-26 16:17:26 +0000 |
commit | 061eb6fa6b196ed3d17121acb8282d626fdd6a69 (patch) | |
tree | effef96ab49b2bbfa6b171368010f2d7fb55fa06 /stmhal/stm32_it.h | |
parent | 7dec35d7cc64d98d3e4583d612f76f8fd5b536e1 (diff) |
stmahl: Fix usbd_conf.c for devices which don't have USB_HS at all.
The STMCube examples define both USE_USB_HS and USE_USB_HS_IN_FS when they
use the HS in FS mode.
The STM32F401 doesn't have a USB_HS at all, so the USB_OTG_HS instance
doesn't even exist.
Diffstat (limited to 'stmhal/stm32_it.h')
-rw-r--r-- | stmhal/stm32_it.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/stm32_it.h b/stmhal/stm32_it.h index 5b17428b3..b84a7f9e0 100644 --- a/stmhal/stm32_it.h +++ b/stmhal/stm32_it.h @@ -74,6 +74,6 @@ void PendSV_Handler(void); void SysTick_Handler(void); #ifdef USE_USB_FS void OTG_FS_IRQHandler(void); -#elif defined(USE_USB_HS) || defined(USE_USB_HS_IN_FS) +#elif defined(USE_USB_HS) void OTG_HS_IRQHandler(void); #endif |