summaryrefslogtreecommitdiffstats
path: root/boot/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'boot/project.h')
-rw-r--r--boot/project.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/boot/project.h b/boot/project.h
index 5699389..4c3a92c 100644
--- a/boot/project.h
+++ b/boot/project.h
@@ -2,8 +2,8 @@
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/flash.h>
-#include <libopencm3/stm32/otg_common.h>
-#include <libopencm3/stm32/otg_fs.h>
+#include <libopencm3/usb/dwc/otg_common.h>
+#include <libopencm3/usb/dwc/otg_fs.h>
#include <libopencm3/stm32/pwr.h>
#include <libopencm3/stm32/syscfg.h>
#include <libopencm3/stm32/usart.h>
@@ -27,3 +27,5 @@ extern uint32_t dfu_flag;
#define APP_ADDRESS 0x08004000
+
+typedef struct rcc_clock_scale clock_scale_t;