bbb: disable the pwm pin when closed