aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/other/usb_hid/usbhid.c
diff options
context:
space:
mode:
authorchrysn2012-10-18 21:42:12 +0200
committerchrysn2012-10-18 21:45:20 +0200
commite20f1c0d8fb6c75c434b93834a9d67262198d908 (patch)
tree521777dbc351ab9f0b6c416fedc344e6b5fd3e9e /examples/stm32/f1/other/usb_hid/usbhid.c
parent75c9cfc287439afb24a6aee1fc26a0b4e8dfeb9f (diff)
unify scb (system control block)
these register definitions are common to all cortex mcus. some of the registers might not be implemented everywhere (especially the floating point registers), but defining them does no harm. this modification does not result in any changes in the example binaries.
Diffstat (limited to 'examples/stm32/f1/other/usb_hid/usbhid.c')
-rw-r--r--examples/stm32/f1/other/usb_hid/usbhid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32/f1/other/usb_hid/usbhid.c b/examples/stm32/f1/other/usb_hid/usbhid.c
index dd3c57a..6329f0e 100644
--- a/examples/stm32/f1/other/usb_hid/usbhid.c
+++ b/examples/stm32/f1/other/usb_hid/usbhid.c
@@ -28,7 +28,7 @@
#define INCLUDE_DFU_INTERFACE
#ifdef INCLUDE_DFU_INTERFACE
-#include <libopencm3/stm32/f1/scb.h>
+#include <libopencm3/cm3/scb.h>
#include <libopencm3/usb/dfu.h>
#endif