From cba3f7f0f912da2eaa4f1b286e6361b47e583f4f Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Wed, 9 Sep 2015 11:34:20 +0000 Subject: Fixed bug #641. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8292 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F1xx/hal_lld_f100.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'os') 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 -- cgit v1.2.3