Skip to content

Commit db1abdf

Browse files
committed
removed incorrect setting of eeprom_address
the address 0x08000FE0 does not have any special value in current bootloaders, so this just sets the eeprom_address address incorrectly based on a 1 in 256 chance
1 parent 97f0d66 commit db1abdf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Src/main.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,13 +1732,6 @@ int main(void)
17321732

17331733
loadEEpromSettings();
17341734

1735-
// EEPROM_VERSION = *(uint8_t*)(0x08000FFC);
1736-
1737-
if((*(uint32_t*)(0x08000FE0)) == 0xf8){
1738-
eeprom_address = (uint32_t)0x0800F800;
1739-
}
1740-
1741-
17421735
if (VERSION_MAJOR != eepromBuffer[3] || VERSION_MINOR != eepromBuffer[4]) {
17431736
eepromBuffer[3] = VERSION_MAJOR;
17441737
eepromBuffer[4] = VERSION_MINOR;

0 commit comments

Comments
 (0)