Skip to content

Commit 77df2c7

Browse files
committed
Export init_Memories() from usb_dfu_flash.h
1 parent 2e96a09 commit 77df2c7

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

app/dfu/usbd_dfu_flash.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ extern USBD_DFU_MediaTypeDef USBD_DFU_Flash_fops;
5353
#define FLASH_END_ADDR (uint32_t)(0x081FFFFF)
5454

5555
/* Exported functions ------------------------------------------------------- */
56+
extern void init_Memories(void);
5657

5758
#endif /* __USBD_DFU_FLASH_H_ */
5859

app/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ int target_led_off(void) {
126126
#if MCUBOOT_APPLICATION_DFU
127127
USBD_HandleTypeDef USBD_Device;
128128
extern PCD_HandleTypeDef hpcd;
129-
extern void init_Memories(void);
130129
#endif
131130

132131
extern "C" {

0 commit comments

Comments
 (0)