stm32: Clarify CCIPR2 setting in stm32g0.c

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-03-11 14:12:11 -05:00
parent 24e7bbf0df
commit e3beafbdb4
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ clock_setup(void)
; ;
// Use PLLQCLK for USB (setting USBSEL=2 works in practice) // Use PLLQCLK for USB (setting USBSEL=2 works in practice)
RCC->CCIPR2 = RCC_CCIPR2_USBSEL_1; RCC->CCIPR2 = 2 << RCC_CCIPR2_USBSEL_Pos;
} }