Skip to content

Commit c2575c5

Browse files
simensrostadnashif
authored andcommitted
fs: fcb: Increase type for max sectors
Increase type for max sectors Signed-off-by: Simen S. Røstad <[email protected]>
1 parent c620646 commit c2575c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/zephyr/fs/fcb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ struct fcb {
103103
*/
104104

105105
uint8_t f_version; /**< Current version number of the data */
106-
uint8_t f_sector_cnt; /**< Number of elements in sector array */
106+
uint16_t f_sector_cnt; /**< Number of elements in sector array */
107107
uint8_t f_scratch_cnt;
108108
/**< Number of sectors to keep empty. This can be used if you need
109109
* to have scratch space for garbage collecting when FCB fills up.

0 commit comments

Comments
 (0)