Fix pwm support