cardos,incrypto34: restored semantics of select_pin_reference
fixed one more warning