add em2 check for timer based led pwm