mirror of https://github.com/rusefi/rusefi.git
simpler code comment
This commit is contained in:
parent
27e902ed02
commit
f01309f108
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue