Ver código fonte

Fix a compile-time warning

I forgot to put a prototype for dfu_run_bootloader in
stm32f072_bootloader.h.  Fixed.
Clara Hobbs 6 anos atrás
pai
commit
113872de5f
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5
    0
      src/stm32f072_bootloader.h

+ 5
- 0
src/stm32f072_bootloader.h Ver arquivo

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

Carregando…
Cancelar
Salvar