maybe bugfix?
This commit is contained in:
rusefillc 2023-06-28 18:51:49 -04:00
parent cc71068b05
commit 34a4accab9
1 changed files with 2 additions and 2 deletions

View File

@ -54,9 +54,9 @@ int InitConfiguration() {
#define FLASH_SIZE_IN_K_ADDRESS 0x1FFFF7E0
int flashSize = (*(uint16_t*)FLASH_SIZE_IN_K_ADDRESS);
if (flashSize > 128) {
flashState = mfsStart(&mfs1, &mfscfg_1k);
} else {
flashState = mfsStart(&mfs1, &mfscfg_2k);
} else {
flashState = mfsStart(&mfs1, &mfscfg_1k);
}
size_t size = GetConfigurationSize();