Browse Source

Fix a compile-time warning

I forgot to put a prototype for dfu_run_bootloader in
stm32f072_bootloader.h.  Fixed.
Clara Hobbs 6 years ago
parent
commit
113872de5f
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/stm32f072_bootloader.h

+ 5
- 0
src/stm32f072_bootloader.h View File

@@ -36,5 +36,10 @@
36 36
 /* Magic value used for jumping to the STM32F072 bootloader */
37 37
 extern uint32_t dfu_reset_to_bootloader_magic;
38 38
 
39
+/*
40
+ * Reset the microcontroller and run the bootloader
41
+ */
42
+void dfu_run_bootloader(void);
43
+
39 44
 
40 45
 #endif /* PDB_STM32F072_BOOTLOADER_H */

Loading…
Cancel
Save