Skip to content

Commit

Permalink
Merge pull request #95 from tridge/pr-remove-bad-eeprom-addr
Browse files Browse the repository at this point in the history
removed incorrect setting of eeprom_address
  • Loading branch information
AlkaMotors authored Oct 12, 2024
2 parents d95a9e9 + db1abdf commit e361395
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1732,13 +1732,6 @@ int main(void)

loadEEpromSettings();

// EEPROM_VERSION = *(uint8_t*)(0x08000FFC);

if((*(uint32_t*)(0x08000FE0)) == 0xf8){
eeprom_address = (uint32_t)0x0800F800;
}


if (VERSION_MAJOR != eepromBuffer[3] || VERSION_MINOR != eepromBuffer[4]) {
eepromBuffer[3] = VERSION_MAJOR;
eepromBuffer[4] = VERSION_MINOR;
Expand Down

0 comments on commit e361395

Please sign in to comment.