nfc_abort_command() function returns now 0 on success and libnfc error code on failure and fix some warnings.
This commit is contained in:
parent
8b07a5f4c7
commit
c80ebdca25
10 changed files with 14 additions and 14 deletions
|
|
@ -54,7 +54,7 @@ nfc_initiator_mifare_cmd (nfc_device *pnd, const mifare_cmd mc, const uint8_t ui
|
|||
size_t szRx = sizeof(abtRx);
|
||||
size_t szParamLen;
|
||||
uint8_t abtCmd[265];
|
||||
bool bEasyFraming;
|
||||
//bool bEasyFraming;
|
||||
|
||||
abtCmd[0] = mc; // The MIFARE Classic command
|
||||
abtCmd[1] = ui8Block; // The block address (1K=0x00..0x39, 4K=0x00..0xff)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue