1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Add feature for SuperExpo and Airmode // Super Expo by default activated

This commit is contained in:
borisbstyle 2016-05-30 20:34:33 +02:00
parent 23b0e79eff
commit 3470181a0f
8 changed files with 25 additions and 13 deletions

View file

@ -398,7 +398,7 @@ static void resetConf(void)
#endif
featureSet(FEATURE_FAILSAFE);
featureSet(FEATURE_ONESHOT125);
featureSet(FEATURE_SUPEREXPO);
// global settings
masterConfig.current_profile_index = 0; // default profile
@ -461,8 +461,8 @@ static void resetConf(void)
masterConfig.rxConfig.max_aux_channel = 6;
masterConfig.rxConfig.superExpoFactor = 30;
masterConfig.rxConfig.airModeActivateThreshold = 1350;
masterConfig.rxConfig.superExpoFactorYaw = 30;
masterConfig.rxConfig.superExpoYawMode = 0;
masterConfig.rxConfig.superExpoFactorYaw = 40;
masterConfig.rxConfig.superExpoYawMode = 1;
resetAllRxChannelRangeConfigurations(masterConfig.rxConfig.channelRanges);