mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Add CLI variable i2c_overclock
Add i2c_overclock to master config and bump version Start using the i2c_overclock CLI setting to initialize i2c clock speed selector for F1 targets.
This commit is contained in:
parent
cce3a1d755
commit
eca7d9fd21
4 changed files with 5 additions and 1 deletions
|
@ -128,7 +128,7 @@ static uint32_t activeFeaturesLatch = 0;
|
|||
static uint8_t currentControlRateProfileIndex = 0;
|
||||
controlRateConfig_t *currentControlRateProfile;
|
||||
|
||||
static const uint8_t EEPROM_CONF_VERSION = 108;
|
||||
static const uint8_t EEPROM_CONF_VERSION = 109;
|
||||
|
||||
static void resetAccelerometerTrims(flightDynamicsTrims_t *accelerometerTrims)
|
||||
{
|
||||
|
@ -453,6 +453,7 @@ static void resetConf(void)
|
|||
resetSerialConfig(&masterConfig.serialConfig);
|
||||
|
||||
masterConfig.emf_avoidance = 0;
|
||||
masterConfig.i2c_overclock = 0;
|
||||
|
||||
resetPidProfile(¤tProfile->pidProfile);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue