added PWM code to keep RC ESC from going into lockout failsafe mode