oops.
spektrum support was broken, now fixed.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@238 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Added GIMBAL_MIXTILT (16) to gimbal_flags. Setting gimbal_flags=16 will use "mixed" gimbal i.e. SERVO_MIX_TILT from MultiWii. Untested, but should work(tm).

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@239 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Ah, finally fixed spektrum stuff. after PWM rewrite, spektrum init ended up before pwm init, so when rcReadRawFunc was assigned, it was always set to PWM. oops. Thanks to Cerberis @ irc for the patch.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@240 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Kalman filter integration

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@241 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
wrong commit. should be part of a new branch.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@242 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
changed cpu to CBT6 in release build;
maybe fixed simplegimbal mixer;


git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@249 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
let's try this again (simple gimbal sign fix)

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@250 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
third time's the charm (fixed + confirmed tiltmix gimbal)

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@251 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
very nice proper magnetometer vector rotation from crashpilot1000

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@261 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
sonar_pinout made configurable(not tested)

editable via cli: sonar_pinout
0=sonar_pwm56, PWM5=trigger, PWM6 = echo
1=sonar_rc78; RC7=trigger, RC8=echo (not 5V tolerant)
2=sonar_PB12_PB13; PB12=trigger PB13=echo
uncommented unused exti stuff for baro interfering with sonar exti
Sonar now working on 5V tolerant pins PB12/13

got rid of mag_drdy pin init
added sonar alt hold

not fully tested yet, seems to work so far
small error fix

forgot to substract sonarAlt when recalculating barohome
fixed potential problem with sonar errorhandling

sonaralthold could get stuck with the wrong value, fixed with current
implementation
Gitignore added
Sonaralthold update

seems to be working now, need to fiddle with optimum barohome lpf
moved Baroalt averaging into Baro_update routine

idea from Mahowiks  MultiWii branch
minor improvements sonar althold

sonar errorhandling should work better now
Sonar althold

enabled pulldown pin to avoid errors when sonar is disconnected
errorhandling changed