OnErrorMagic(4);\r
};\r
\r
- memcpy(data, datain, sizeof(data));\r
- AppendCrc14443a(data, sizeof(data));\r
+ memcpy(data, datain, 16);\r
+ AppendCrc14443a(data, 16);\r
\r
ReaderTransmit(data, sizeof(data), NULL);\r
if ((ReaderReceive(receivedAnswer, receivedAnswerPar) != 1) || (receivedAnswer[0] != 0x0a)) {\r
uint8_t workFlags = arg0;\r
uint8_t blockNo = arg1;\r
\r
- Dbprintf("ICE :: CGetBlocks Flags %02x", workFlags);\r
- \r
// variables\r
uint8_t data[MAX_MIFARE_FRAME_SIZE];\r
uint8_t receivedAnswer[MAX_MIFARE_FRAME_SIZE];\r