gadget0: f429: update to newest rcc api
This commit is contained in:
parent
43b6f333d2
commit
6894965408
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
rcc_clock_setup_hse_3v3(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_168MHZ]);
|
rcc_clock_setup_pll(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_168MHZ]);
|
||||||
rcc_periph_clock_enable(RCC_GPIOB);
|
rcc_periph_clock_enable(RCC_GPIOB);
|
||||||
rcc_periph_clock_enable(RCC_OTGHS);
|
rcc_periph_clock_enable(RCC_OTGHS);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user