mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-16 13:19:56 +01:00
stm32: Clarify CCIPR2 setting in stm32g0.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -95,7 +95,7 @@ clock_setup(void)
|
||||
;
|
||||
|
||||
// Use PLLQCLK for USB (setting USBSEL=2 works in practice)
|
||||
RCC->CCIPR2 = RCC_CCIPR2_USBSEL_1;
|
||||
RCC->CCIPR2 = 2 << RCC_CCIPR2_USBSEL_Pos;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user