vpcd: fixed parsing protocol from ATR

This commit is contained in:
Frank Morgner
2018-02-05 22:38:33 +01:00
parent a63d35d224
commit 09b6c5cfb2

View File

@@ -413,7 +413,7 @@ bool Reader::initProtocols() {
y=y & 0xE;
if (let=='D') {
// check available protocol(s)
int protocol=(ATR[i] & 0x0f);
protocol=(ATR[i] & 0x0f);
availableProtocol|=1 << protocol;
// prepare for next block
let='A';