1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00

Merge pull request #2489 from mikeller/readded_board_identifier_check

Re-added check to reset EEPROM config if board identifier has changed.
This commit is contained in:
J Blackman 2017-02-27 01:32:14 +11:00 committed by GitHub
commit e7f37f43a2
3 changed files with 8 additions and 7 deletions

View file

@ -1103,9 +1103,6 @@ void createDefaultConfig(master_t *config)
resetStatusLedConfig(&config->statusLedConfig);
#endif
/* merely to force a reset if the person inadvertently flashes the wrong target */
strncpy(config->boardIdentifier, TARGET_BOARD_IDENTIFIER, sizeof(TARGET_BOARD_IDENTIFIER));
#if defined(TARGET_CONFIG)
targetConfiguration(config);
#endif