vpcd: fixed parsing protocol from ATR
This commit is contained in:
@@ -413,7 +413,7 @@ bool Reader::initProtocols() {
|
|||||||
y=y & 0xE;
|
y=y & 0xE;
|
||||||
if (let=='D') {
|
if (let=='D') {
|
||||||
// check available protocol(s)
|
// check available protocol(s)
|
||||||
int protocol=(ATR[i] & 0x0f);
|
protocol=(ATR[i] & 0x0f);
|
||||||
availableProtocol|=1 << protocol;
|
availableProtocol|=1 << protocol;
|
||||||
// prepare for next block
|
// prepare for next block
|
||||||
let='A';
|
let='A';
|
||||||
|
|||||||
Reference in New Issue
Block a user