Update drv_pwm.c

Detection & fix for the "8 channels in 18ms Frsky problem" see http://diydrones.com/profiles/blogs/why-frsky-cppm-signal-is-so-disappointing . Note: failsafeCheck not altered!
this is here from beginning, but if youre updating this part of code might as well make chan as int.