mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Change defaults // Cleanup debug
This commit is contained in:
parent
0ea5a99e2b
commit
893b45c518
3 changed files with 4 additions and 27 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 = 106;
|
||||
static const uint8_t EEPROM_CONF_VERSION = 107;
|
||||
|
||||
static void resetAccelerometerTrims(flightDynamicsTrims_t *accelerometerTrims)
|
||||
{
|
||||
|
@ -390,13 +390,13 @@ static void resetConf(void)
|
|||
masterConfig.boardAlignment.pitchDegrees = 0;
|
||||
masterConfig.boardAlignment.yawDegrees = 0;
|
||||
masterConfig.acc_hardware = ACC_DEFAULT; // default/autodetect
|
||||
masterConfig.acc_for_fast_looptime = 0;
|
||||
masterConfig.acc_for_fast_looptime = 0; // FIXME - Needs to be removed through the code
|
||||
masterConfig.max_angle_inclination = 500; // 50 degrees
|
||||
masterConfig.yaw_control_direction = 1;
|
||||
masterConfig.gyroConfig.gyroMovementCalibrationThreshold = 32;
|
||||
|
||||
masterConfig.mag_hardware = MAG_DEFAULT; // default/autodetect
|
||||
masterConfig.baro_hardware = BARO_DEFAULT; // default/autodetect
|
||||
masterConfig.mag_hardware = 1; // default/autodetect
|
||||
masterConfig.baro_hardware = 1; // default/autodetect
|
||||
|
||||
resetBatteryConfig(&masterConfig.batteryConfig);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue