mirror of https://github.com/Desuuuu/klipper.git
stm32: Clarify CCIPR2 setting in stm32g0.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
24e7bbf0df
commit
e3beafbdb4
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue