From 061430973e82995368d27ff9081391f9475da3c7 Mon Sep 17 00:00:00 2001 From: James McKenzie Date: Mon, 3 Aug 2015 10:34:07 +0100 Subject: fish --- boot/Makefile | 2 +- boot/usbdfu.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'boot') diff --git a/boot/Makefile b/boot/Makefile index 86d4d2c..55cbe4e 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -28,5 +28,5 @@ OBJS = ${CSRCS:%.c=%.o} include ../Makefile.include -CFLAGS += -I.. +CFLAGS += -I../include diff --git a/boot/usbdfu.c b/boot/usbdfu.c index 33f4c22..400fc7c 100644 --- a/boot/usbdfu.c +++ b/boot/usbdfu.c @@ -24,7 +24,7 @@ #include #include #include - +#include #define APP_ADDRESS 0x08002000 @@ -270,7 +270,7 @@ int main(void) dfu_flag=0; - rcc_clock_setup_in_hsi_out_48mhz(); + rcc_clock_setup_in_hse_8mhz_out_48mhz(); rcc_periph_clock_enable(RCC_GPIOC); -- cgit v1.2.3