Typo in PLLI2SCFGR HSI checks Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
FXCoder
Posts: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

Typo in PLLI2SCFGR HSI checks  Topic is solved

Postby FXCoder » Tue Jun 19, 2018 12:30 pm

Changes for STM32F4 hal headers...

Code: Select all

Index: hal_lld_type1.h
===================================================================
--- hal_lld_type1.h   (revision 12114)
+++ hal_lld_type1.h   (working copy)
@@ -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
Index: hal_lld_type2.h
===================================================================
--- hal_lld_type2.h   (revision 12114)
+++ hal_lld_type2.h   (working copy)
@@ -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

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Typo in PLLI2SCFGR HSI checks

Postby Giovanni » Sun Jul 01, 2018 10:28 am

Hi,

Fixed in trunk.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 14 guests