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

started adding ledring stuff (yawn). found out i2c was broken, stopped.

default rc input is now pwm (non-nerds won)
added deadband to config


git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@110 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop 2012-03-13 10:49:23 +00:00
parent fa29022f21
commit 6e88b8ae30
8 changed files with 109 additions and 23 deletions

View file

@ -8,7 +8,7 @@
config_t cfg;
static uint32_t enabledSensors = 0;
static uint8_t checkNewConf = 2;
static uint8_t checkNewConf = 3;
void readEEPROM(void)
{
@ -65,7 +65,7 @@ void checkFirstTime(void)
cfg.version = checkNewConf;
cfg.mixerConfiguration = MULTITYPE_QUADX;
featureClearAll();
featureSet(FEATURE_VBAT | FEATURE_PPM);
featureSet(FEATURE_VBAT); // | FEATURE_PPM); // sadly, this is for hackers only
cfg.P8[ROLL] = 40;
cfg.I8[ROLL] = 30;
@ -102,8 +102,9 @@ void checkFirstTime(void)
cfg.accTrim[1] = 0;
cfg.gyro_smoothing_factor = 0x00141403; // default factors of 20, 20, 3 for R/P/Y
cfg.powerTrigger1 = 0;
// Radio/ESC
cfg.deadband = 0;
cfg.midrc = 1500;
cfg.minthrottle = 1150;
cfg.maxthrottle = 1850;