1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 23:35:34 +03:00

Re-added check to reset EEPROM config if board identifier has changed.

This commit is contained in:
mikeller 2017-02-26 18:54:25 +13:00
parent f7afaedffe
commit 76a6a5d306
3 changed files with 8 additions and 7 deletions

View file

@ -1097,9 +1097,6 @@ void createDefaultConfig(master_t *config)
resetStatusLedConfig(&config->statusLedConfig);
/* 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