pwm channel mapping bugfixing