simpler code comment
This commit is contained in:
rusefillc 2023-06-28 18:48:41 -04:00
parent 27e902ed02
commit f01309f108
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ mfs_nocache_buffer_t __nocache_mfsbuf1;
static const MFSConfig mfscfg_1k = {
.flashp = (BaseFlash *)&EFLD1,
.erased = 0xFFFFFFFFU,
// 1k page * 1 sector = 1024
.bank_size = 1024U,
.bank0_start = 62U,
.bank0_sectors = 1U,
@ -19,6 +20,7 @@ static const MFSConfig mfscfg_2k = {
/* 256K flash device with 2K pages
* use last 8 pages for settings
* one bank is 8K */
// 2k page * 4 sectors = 8096
.bank_size = 8096U,
.bank0_start = 120U,
.bank0_sectors = 4U,