stmclk: Fix M-factor shift for SAI PLL

This commit is contained in:
Koen Zandberg 2019-10-20 18:22:18 +02:00
parent d9c240a2ff
commit 5eedd9c629
No known key found for this signature in database
GPG Key ID: 0E63411F8FCA8247

View File

@ -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