We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 346f737 commit 92422caCopy full SHA for 92422ca
boot/mynewt/flash_map_backend/include/flash_map_backend/flash_map_backend.h
@@ -83,4 +83,9 @@ static inline uint32_t flash_sector_get_off(const struct flash_sector *fs)
83
return fs->fs_off;
84
}
85
86
+static inline uint32_t flash_sector_get_size(const struct flash_sector *fs)
87
+{
88
+ return fs->fs_size;
89
+}
90
+
91
#endif /* __FLASH_MAP_BACKEND_H__ */
0 commit comments