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:
commit
e7f37f43a2
3 changed files with 8 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue