remove redundant enum pins checking
remove redundant enum pins checking

trcwm/openpnp-capture,openpnp/openpnp-capture,openpnp/openpnp-capture,trcwm/openpnp-capture,openpnp/openpnp-capture,openpnp/openpnp-capture,trcwm/openpnp-capture,openpnp/openpnp-capture,trcwm/openpnp-capture,trcwm/openpnp-capture,trcwm/openpnp-capture,openpnp/openpnp-capture