Przeglądaj źródła

Fix a compile-time warning

I forgot to put a prototype for dfu_run_bootloader in
stm32f072_bootloader.h.  Fixed.
Clara Hobbs 6 lat temu
rodzic
commit
113872de5f
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5
    0
      src/stm32f072_bootloader.h

+ 5
- 0
src/stm32f072_bootloader.h Wyświetl plik

@@ -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 */

Ładowanie…
Anuluj
Zapisz