mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-22 22:46:17 +00:00
nfc_abort_command() function returns now 0 on success and libnfc error code on failure and fix some warnings.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user