PWM bugfix

Fixed a bug where PWM forced the output to be HIGH for one PWM cycle
after executing PWM set command. This was seen as "blinking/jamming"
when PWM frequency and duty cycle were low (100Hz, 5%).