1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 23:35:34 +03:00

Rccommand scaled to FPV cam (cli command: rc_fpv_cam_correct_degrees)

This commit is contained in:
borisbstyle 2016-01-10 20:51:58 +01:00
parent bd39f07c1f
commit a42aed332b
4 changed files with 16 additions and 1 deletions

View file

@ -134,7 +134,7 @@ static uint32_t activeFeaturesLatch = 0;
static uint8_t currentControlRateProfileIndex = 0;
controlRateConfig_t *currentControlRateProfile;
static const uint8_t EEPROM_CONF_VERSION = 116;
static const uint8_t EEPROM_CONF_VERSION = 117;
static void resetAccelerometerTrims(flightDynamicsTrims_t *accelerometerTrims)
{
@ -442,6 +442,7 @@ static void resetConf(void)
masterConfig.rxConfig.rssi_scale = RSSI_SCALE_DEFAULT;
masterConfig.rxConfig.rssi_ppm_invert = 0;
masterConfig.rxConfig.rcSmoothing = 0;
masterConfig.rxConfig.fpvCamAngleDegrees = 0;
resetAllRxChannelRangeConfigurations(masterConfig.rxConfig.channelRanges);