Merge branch 'fnurgel/sbus_rx_failsafe_enable'
move code around to fix some gcc error that doesn't occur with real compilers
hardware divider supports up to 8S, make it so in the code as well.
re-enable hardware i2c; update NVIC priority to use  define from CMSIS instead of magic 0x500 number
remove unnecessary averaging of PWM/PPM rc input
remove i2c driver function calls and directly read/write I2C->DR
reformat I2C driver and align comments. add timeout checking and move hardware reinit common code into separate function.
moved nvic priority group init into drv_system, where it belongs
Remove FY90Q support. Dead hardware, not even available anymore, and doesn't offer anything over already cheap acroafro.
fixed ADC initialization with skipped channels  - spotted by Lux.
Also increased ADC sample time to 239.5 cycles (~10uS at 24MHz ADC clock).
current sensor support added

also optimized the vbat code a bit
Merge pull request #113 from luggi/Powermeter

Current sensor support added, with defaults for Allegro ACS758 current sensor.
formatting fixes and rename one of ADC channels.
fixed frsky temeletry gps output to match with what is actually expected. props to KC_703 for spotting this stuff.
remove duplicate test
latest binary for recent source changes. fixed lockup w/PWM receivers
fixed negative currents messing up the mAh counter

now there is no virtually limit for the mAh drawn counter.
The outpout is limited by the mwii serial protocol tough (~65Ah)
Merge pull request #116 from luggi/Powermeter

fixed negative currents messing up the mAh counter
Update README.md
Update mw.c

do not include serial nor telemetry handler in cycletime calculation
Merge pull request #118 from treymarc/patch-2

Update mw.c