mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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)
|
#if (CLOCK_ENABLE_PLL_SAI)
|
||||||
#ifdef RCC_PLLSAICFGR_PLLSAIN_Pos
|
#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
|
#else
|
||||||
#define PLLSAI_M (0)
|
#define PLLSAI_M (0)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user