diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-14 09:51:34 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-14 09:51:34 +0000 |
commit | 581e0f51a4f6d91ba6832ef234f4a81594f30a95 (patch) | |
tree | c613aa450a998f9a07b6e8e77a7ebf78e98b04ad /os/hal/ports/STM32 | |
parent | 98cd062e820135b4759a21d9506a5df884527e7b (diff) | |
download | ChibiOS-581e0f51a4f6d91ba6832ef234f4a81594f30a95.tar.gz ChibiOS-581e0f51a4f6d91ba6832ef234f4a81594f30a95.tar.bz2 ChibiOS-581e0f51a4f6d91ba6832ef234f4a81594f30a95.zip |
Fixed bug #707.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8878 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32')
-rw-r--r-- | os/hal/ports/STM32/LLD/OTGv1/usb_lld.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h index 42ef245c4..59394dd35 100644 --- a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h +++ b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h @@ -189,6 +189,8 @@ #define STM32_USBCLK STM32_PLL48CLK
#elif defined(STM32F10X_CL)
#define STM32_USBCLK STM32_OTGFSCLK
+#elif defined(STM32L4XX)
+#define STM32_USBCLK STM32_48CLK
#else
#error "unsupported STM32 platform for OTG functionality"
#endif
|