set pid inactive on pwm functions