remove duplicate test
Merge pull request #119 from treymarc/patch-3

remove heading duplicate declaration
yaw improvement

this should stop the copter from carrying on spinning at high yaw rates.
Merge pull request #120 from luggi/yaw

yaw improvement
we can for mag only one time
we can test for mag only one time
Merge branch 'patch_imuMagTest' of https://github.com/treymarc/baseflight.git into patch_imuMagTest
allow controlling external XOR gate connected to PB2 (BOOT1) to invert USART2_RX signal on F1. Currently used by sbus driver.
On second thought, no need to make inverter configurable. only sbus will use it, and the driver can set inversion automatically.
Fixing gimbal_flags not working when feature SERVO_TILT was enabled. This was done by properly calculating servo offset instead of depending on enabled features/mixers.
remove unnecessary variable
unroll loop for better code size

gcc remove 29 bytes here
Merge pull request #122 from treymarc/patch-7

remove unnecessary variable
Merge pull request #123 from treymarc/patch-9

unroll loop for better code size
Remove unused axis var

related to previous change, axis is not used anymore
sonar althold
rename/removed global var sonarAngle to tiltAngle , fix spaces/lines
remove tab in comment
Merge pull request #128 from treymarc/sonar

sonar althold
rolling back pwm capture filter stuff, not necessary and had reports of fail.