Update drv_pwm.c

Besides the Frsky 18ms fix it also verifies the channelnumbers, that will most probably also fix some hiccups some ppl see. I can not verify this because I don't see those hiccups with my gear. BF failsafeCheck logic unchanged may need attention.