From 74cd38a77bf395ed8d18032bb63cf06bfa67cf57 Mon Sep 17 00:00:00 2001 From: borisbstyle Date: Mon, 16 May 2016 21:29:18 +0200 Subject: [PATCH] F1 default Loop set to 1khz --- src/main/config/config.c | 6 +++++- src/main/version.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/config/config.c b/src/main/config/config.c index 84c2c22679..691d87c156 100755 --- a/src/main/config/config.c +++ b/src/main/config/config.c @@ -407,7 +407,11 @@ static void resetConf(void) masterConfig.dcm_kp = 2500; // 1.0 * 10000 masterConfig.dcm_ki = 0; // 0.003 * 10000 masterConfig.gyro_lpf = 0; // 256HZ default +#ifdef STM32F10X + masterConfig.gyro_sync_denom = 8; +#else masterConfig.gyro_sync_denom = 4; +#endif masterConfig.gyro_soft_lpf_hz = 100; masterConfig.pid_process_denom = 2; @@ -440,7 +444,7 @@ static void resetConf(void) masterConfig.rxConfig.spektrum_sat_bind = 0; masterConfig.rxConfig.spektrum_sat_bind_autoreset = 1; masterConfig.rxConfig.midrc = 1500; - masterConfig.rxConfig.mincheck = 1080; + masterConfig.rxConfig.mincheck = 1100; masterConfig.rxConfig.maxcheck = 1900; masterConfig.rxConfig.rx_min_usec = 885; // any of first 4 channels below this value will trigger rx loss detection masterConfig.rxConfig.rx_max_usec = 2115; // any of first 4 channels above this value will trigger rx loss detection diff --git a/src/main/version.h b/src/main/version.h index 922d94b1d7..009ff6e352 100644 --- a/src/main/version.h +++ b/src/main/version.h @@ -17,7 +17,7 @@ #define FC_VERSION_MAJOR 2 // increment when a major release is made (big new feature, etc) #define FC_VERSION_MINOR 7 // increment when a minor release is made (small new feature, change etc) -#define FC_VERSION_PATCH_LEVEL 0 // increment when a bug is fixed +#define FC_VERSION_PATCH_LEVEL 1 // increment when a bug is fixed #define STR_HELPER(x) #x #define STR(x) STR_HELPER(x)