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