STM32F4XX PLLSAI enable check 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

STM32F4XX PLLSAI enable check  Topic is solved

Postby FXCoder » Mon May 07, 2018 12:42 am

Check for PLLSAI enable using bit OR instead of logical OR after check for CK48MSEL...

Code: Select all

Index: hal_lld.h
===================================================================
--- hal_lld.h   (revision 12002)
+++ hal_lld.h   (working copy)
@@ -1665,7 +1665,7 @@
 /*
  * PLLSAI enable check.
  */
-#if (STM32_CLOCK48_REQUIRED && (STM32_CK48MSEL == STM32_CK48MSEL_PLLSAI)) | \
+#if (STM32_CLOCK48_REQUIRED && (STM32_CK48MSEL == STM32_CK48MSEL_PLLSAI)) ||\
     (STM32_PLLSAIDIVR != STM32_PLLSAIDIVR_OFF) ||                           \
     (STM32_SAI1SEL == STM32_SAI1SEL_PLLSAI) ||                              \
     (STM32_SAI2SEL == STM32_SAI2SEL_PLLSAI) ||                              \

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 3 guests