We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c0d6f0 commit 08f9e80Copy full SHA for 08f9e80
targets/TARGET_STM/trng_api.c
@@ -37,15 +37,6 @@ void trng_init(trng_t *obj)
37
error("Only 1 RNG instance supported\r\n");
38
}
39
40
-#if defined(TARGET_STM32L4)
41
- RCC_PeriphCLKInitTypeDef PeriphClkInitStruct;
42
-
43
- /*Select PLLQ output as RNG clock source */
44
- PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_RNG;
45
- PeriphClkInitStruct.RngClockSelection = RCC_RNGCLKSOURCE_PLL;
46
- HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct);
47
-#endif
48
49
/* RNG Peripheral clock enable */
50
__HAL_RCC_RNG_CLK_ENABLE();
51
0 commit comments