Changed pwm_channel_disable() and made it block till the channel has
been disabled.
Small changes in PIO