Merge pull request #12515 from bergzand/pr/stmclk/fix_sai_shift
stmclk: Fix M-factor shift for SAI PLL
This commit is contained in:
commit
0aa63f84c7
@ -87,7 +87,7 @@
|
||||
|
||||
#if (CLOCK_ENABLE_PLL_SAI)
|
||||
#ifdef RCC_PLLSAICFGR_PLLSAIN_Pos
|
||||
#define PLLSAI_M (CLOCK_PLL_SAI_M << RCC_PLLSAICFGR_PLLSAIN_Pos)
|
||||
#define PLLSAI_M (CLOCK_PLL_SAI_M << RCC_PLLSAICFGR_PLLSAIM_Pos)
|
||||
#else
|
||||
#define PLLSAI_M (0)
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user