stm32/h7: Sorted a couple of missing peripheral register clock set cases

This commit is contained in:
dragonmux
2024-04-10 04:13:17 +01:00
committed by Piotr Esden-Tempski
parent d294ebf746
commit c38a37c387

View File

@@ -399,6 +399,8 @@ void rcc_set_peripheral_clk_sel(uint32_t periph, uint32_t sel) {
break;
case USART1_BASE:
case USART6_BASE:
case UART9_BASE:
case USART10_BASE:
reg = &RCC_D2CCIP2R;
mask = RCC_D2CCIP2R_USARTSEL_MASK << RCC_D2CCIP2R_USART16SEL_SHIFT;
val = sel << RCC_D2CCIP2R_USART16SEL_SHIFT;