mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Added support for signing board / serial number.
This commit is contained in:
parent
1a2c129306
commit
0bf4708033
11 changed files with 199 additions and 7 deletions
|
@ -242,7 +242,9 @@ void init(void)
|
|||
ensureEEPROMStructureIsValid();
|
||||
bool readSuccess = readEEPROM();
|
||||
|
||||
#if defined(USE_BOARD_INFO)
|
||||
initBoardInformation();
|
||||
#endif
|
||||
|
||||
if (!readSuccess || strncasecmp(systemConfig()->boardIdentifier, TARGET_BOARD_IDENTIFIER, sizeof(TARGET_BOARD_IDENTIFIER))) {
|
||||
resetEEPROM();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue