From 3a109194972f3671092d4e0767fc2f3c63a5a363 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 1 Jul 2018 09:27:51 +0000 Subject: Fixed issue in F4 HAL clock tree checks. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12128 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h | 2 +- os/hal/ports/STM32/STM32F4xx/hal_lld_type2.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h b/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h index 16eff7b60..87d60a8ed 100644 --- a/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h +++ b/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h @@ -1282,7 +1282,7 @@ #error "HSI not enabled, required by STM32_I2SSRC" #endif -#if (STM32_PLLI2SSRC == STM32_PLLI2SSRC_PLLI2S) && \ +#if (STM32_PLLI2SSRC == STM32_PLLI2SSRC_PLLSRC) && \ (STM32_PLLSRC == STM32_PLLSRC_HSI) #error "HSI not enabled, required by STM32_I2SSRC" #endif diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld_type2.h b/os/hal/ports/STM32/STM32F4xx/hal_lld_type2.h index a2831dc74..3dee3dee2 100644 --- a/os/hal/ports/STM32/STM32F4xx/hal_lld_type2.h +++ b/os/hal/ports/STM32/STM32F4xx/hal_lld_type2.h @@ -727,7 +727,7 @@ #error "HSI not enabled, required by STM32_MCO2SEL" #endif -#if (STM32_PLLI2SSRC == STM32_PLLI2SSRC_PLLI2S) && \ +#if (STM32_PLLI2SSRC == STM32_PLLI2SSRC_PLLSRC) && \ (STM32_PLLSRC == STM32_PLLSRC_HSI) #error "HSI not enabled, required by STM32_I2SSRC" #endif -- cgit v1.2.3