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

Anti Desync feature for ESC's // Experimental

This commit is contained in:
borisbstyle 2016-05-25 23:51:10 +02:00
parent 935ad7f613
commit fb7cfffdeb
4 changed files with 13 additions and 1 deletions

View file

@ -140,7 +140,7 @@ static uint32_t activeFeaturesLatch = 0;
static uint8_t currentControlRateProfileIndex = 0;
controlRateConfig_t *currentControlRateProfile;
static const uint8_t EEPROM_CONF_VERSION = 137;
static const uint8_t EEPROM_CONF_VERSION = 138;
static void resetAccelerometerTrims(flightDynamicsTrims_t *accelerometerTrims)
{
@ -236,6 +236,7 @@ void resetEscAndServoConfig(escAndServoConfig_t *escAndServoConfig)
escAndServoConfig->maxthrottle = 1850;
escAndServoConfig->mincommand = 1000;
escAndServoConfig->servoCenterPulse = 1500;
escAndServoConfig->escDesyncProtection = 0;
}
void resetFlight3DConfig(flight3DConfig_t *flight3DConfig)