FIX: an extra break inside "Hf mf cgetsc" made it not read the fourth block in the sector.

This commit is contained in:
iceman1001 2016-02-20 00:29:35 +01:00
parent 14dff8e330
commit c7962313cc

View file

@ -1322,10 +1322,9 @@ void MifareCGetBlock(uint32_t arg0, uint32_t arg1, uint8_t *datain){
memcpy(data, receivedAnswer, sizeof(data));
// send HALT
if (workFlags & MAGIC_HALT) {
if (workFlags & MAGIC_HALT)
mifare_classic_halt_ex(NULL);
break;
}
isOK = true;
break;
}