mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Code Cleanup
More code cleanup and BUMP EEPROM Code Cleanup Fix loop trigger
This commit is contained in:
parent
70d04e46d0
commit
0501e5ff91
29 changed files with 7377 additions and 81207 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 = 105;
|
||||
static const uint8_t EEPROM_CONF_VERSION = 106;
|
||||
|
||||
static void resetAccelerometerTrims(flightDynamicsTrims_t *accelerometerTrims)
|
||||
{
|
||||
|
@ -453,9 +453,7 @@ static void resetConf(void)
|
|||
|
||||
resetSerialConfig(&masterConfig.serialConfig);
|
||||
|
||||
masterConfig.looptime = 0;
|
||||
masterConfig.emf_avoidance = 0;
|
||||
masterConfig.syncGyroToLoop = 1;
|
||||
masterConfig.rcSmoothing = 1;
|
||||
|
||||
resetPidProfile(¤tProfile->pidProfile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue