aboutsummaryrefslogtreecommitdiffstats
path: root/app/main.c
diff options
context:
space:
mode:
authorroot <root@ka-ata-killa.ourano.james.local>2021-03-10 10:17:23 +0000
committerroot <root@ka-ata-killa.ourano.james.local>2021-03-10 10:17:23 +0000
commit9da4b55529e3c9cb34be47ee23391c1dfd4dec5a (patch)
tree4e36c7ec587c12d79ceffcd769f1993e35f9c383 /app/main.c
parent49148e76706e5e24c2ba7f6ccc1d7ec4736ab2f3 (diff)
downloadserial_over_dp-9da4b55529e3c9cb34be47ee23391c1dfd4dec5a.tar.gz
serial_over_dp-9da4b55529e3c9cb34be47ee23391c1dfd4dec5a.tar.bz2
serial_over_dp-9da4b55529e3c9cb34be47ee23391c1dfd4dec5a.zip
update libopencm3 to fix bugs in usb implementation
Diffstat (limited to 'app/main.c')
-rw-r--r--app/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.c b/app/main.c
index 2ac458f..b6b5039 100644
--- a/app/main.c
+++ b/app/main.c
@@ -7,7 +7,7 @@
int main (void)
{
/*set up pll */
- rcc_clock_setup_in_hse_8mhz_out_72mhz();
+ rcc_clock_setup_pll(&rcc_hse_configs[RCC_CLOCK_HSE8_72MHZ]);
/*turn on clocks to periferals */
rcc_periph_clock_enable (RCC_GPIOA);
rcc_periph_clock_enable (RCC_GPIOB);