soc: stl32l0: Enable DMA clock instead of DBGMCU clock
During review of #38681, switching from HAL to LL, involuntarily enable DBGMCU clock instead of DMA clock. Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
parent
2160e0fc36
commit
dc986291bd
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ static int stm32l0_init(const struct device *arg)
|
||||||
* (similarly than it fixes
|
* (similarly than it fixes
|
||||||
* https://github.com/zephyrproject-rtos/zephyr/issues/#34324 )
|
* https://github.com/zephyrproject-rtos/zephyr/issues/#34324 )
|
||||||
*/
|
*/
|
||||||
LL_APB2_GRP1_EnableClock(LL_APB2_GRP1_PERIPH_DBGMCU);
|
LL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_DMA1);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue