Skip to content

Commit 38f55eb

Browse files
0xc0170c1728p9
authored andcommitted
flash: fix include header for cmsis algo
flash api should include this header file, as it contains required data declarations.
1 parent f258770 commit 38f55eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hal/flash_api.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626

2727
typedef struct flash_s flash_t;
2828

29+
#if TARGET_FLASH_CMSIS_ALGO
30+
#include "flash_data.h"
31+
#endif
32+
2933
#ifdef __cplusplus
3034
extern "C" {
3135
#endif

0 commit comments

Comments
 (0)