FIX: an extra break inside "Hf mf cgetsc" made it not read the fourth block in the sector.
This commit is contained in:
@@ -1322,10 +1322,9 @@ void MifareCGetBlock(uint32_t arg0, uint32_t arg1, uint8_t *datain){
|
|||||||
memcpy(data, receivedAnswer, sizeof(data));
|
memcpy(data, receivedAnswer, sizeof(data));
|
||||||
|
|
||||||
// send HALT
|
// send HALT
|
||||||
if (workFlags & MAGIC_HALT) {
|
if (workFlags & MAGIC_HALT)
|
||||||
mifare_classic_halt_ex(NULL);
|
mifare_classic_halt_ex(NULL);
|
||||||
break;
|
|
||||||
}
|
|
||||||
isOK = true;
|
isOK = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user