mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Speed up the first boot on generic firmware
This commit is contained in:
parent
c9788f1831
commit
feab0bcb81
4 changed files with 37 additions and 7 deletions
|
@ -43,6 +43,7 @@ typedef struct systemConfig_s {
|
|||
uint8_t powerOnArmingGraceTime; // in seconds
|
||||
char boardIdentifier[sizeof(TARGET_BOARD_IDENTIFIER) + 1];
|
||||
uint8_t hseMhz; // Not used for non-F4 targets
|
||||
uint8_t configured;
|
||||
} systemConfig_t;
|
||||
|
||||
PG_DECLARE(systemConfig_t, systemConfig);
|
||||
|
@ -75,3 +76,5 @@ uint16_t getCurrentMinthrottle(void);
|
|||
void resetConfigs(void);
|
||||
void targetConfiguration(void);
|
||||
void targetValidateConfiguration(void);
|
||||
|
||||
bool isSystemConfigured(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue