aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-09-09 11:34:20 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-09-09 11:34:20 +0000
commitcba3f7f0f912da2eaa4f1b286e6361b47e583f4f (patch)
treebbdcefb3f36a6495718a952eb2fba61df655dc41 /os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h
parentf6d6d2068a2b890a5edc3b4e7d9482cf28bf4a2d (diff)
downloadChibiOS-cba3f7f0f912da2eaa4f1b286e6361b47e583f4f.tar.gz
ChibiOS-cba3f7f0f912da2eaa4f1b286e6361b47e583f4f.tar.bz2
ChibiOS-cba3f7f0f912da2eaa4f1b286e6361b47e583f4f.zip
Fixed bug #641.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8292 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h')
-rw-r--r--os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h b/os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h
index 63f5533a1..2f6024269 100644
--- a/os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h
+++ b/os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h
@@ -311,8 +311,9 @@
#error "HSE not enabled, required by STM32_SW and STM32_PLLSRC"
#endif
-#if (STM32_MCOSEL == STM32_MCOSEL_HSE) || \
- ((STM32_MCOSEL == STM32_MCOSEL_PLL) && (STM32_PLLSRC == STM32_PLLSRC_HSE))
+#if (STM32_MCOSEL == STM32_MCOSEL_HSE) || \
+ ((STM32_MCOSEL == STM32_MCOSEL_PLLDIV2) && \
+ (STM32_PLLSRC == STM32_PLLSRC_HSE))
#error "HSE not enabled, required by STM32_MCOSEL"
#endif