aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-08 16:17:37 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-08 16:17:37 +0000
commit456edd448c07e54287844fa262e8ab65eb8737fb (patch)
treeaa5b43c55753f0e11fd89f09c349af88fa100fab /os/hal/platforms
parenta98fcfb82b94bbeb6eb7f81a2823a20fb77c8626 (diff)
downloadChibiOS-456edd448c07e54287844fa262e8ab65eb8737fb.tar.gz
ChibiOS-456edd448c07e54287844fa262e8ab65eb8737fb.tar.bz2
ChibiOS-456edd448c07e54287844fa262e8ab65eb8737fb.zip
STM32F3xx USB working.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4886 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/STM32F3xx/hal_lld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32F3xx/hal_lld.h b/os/hal/platforms/STM32F3xx/hal_lld.h
index 270664abd..46ca54ea5 100644
--- a/os/hal/platforms/STM32F3xx/hal_lld.h
+++ b/os/hal/platforms/STM32F3xx/hal_lld.h
@@ -180,8 +180,8 @@
#define STM32_PLLSRC_HSE (1 << 16) /**< PLL clock source is
HSE/PREDIV. */
-#define STM32_USBPRE_DIV1 (0 << 22) /**< USB clock is PLLCLK/1. */
-#define STM32_USBPRE_DIV1P5 (1 << 22) /**< USB clock is PLLCLK/1.5. */
+#define STM32_USBPRE_DIV1P5 (0 << 22) /**< USB clock is PLLCLK/1.5. */
+#define STM32_USBPRE_DIV1 (1 << 22) /**< USB clock is PLLCLK/1. */
#define STM32_MCOSEL_NOCLOCK (0 << 24) /**< No clock on MCO pin. */
#define STM32_MCOSEL_LSI (2 << 24) /**< LSI clock on MCO pin. */