chg: #define rename
This commit is contained in:
@@ -361,10 +361,10 @@ int mifare_ultra_readblockEx(uint8_t blockNo, uint8_t *blockData) {
|
||||
return 0;
|
||||
}
|
||||
int mifare_ultra_readblock(uint8_t blockNo, uint8_t *blockData) {
|
||||
#define MFU_MAX_CRC_RETRIES 5
|
||||
#define MFU_MAX_RETRIES 5
|
||||
uint8_t res;
|
||||
|
||||
for (uint8_t retries = 0; retries < MFU_MAX_CRC_RETRIES; ++retries) {
|
||||
for (uint8_t retries = 0; retries < MFU_MAX_RETRIES; ++retries) {
|
||||
res = mifare_ultra_readblockEx(blockNo, blockData);
|
||||
|
||||
// break if OK, or NACK.
|
||||
|
||||
@@ -1812,7 +1812,8 @@ int CmdHF14AMfUDump(const char *Cmd){
|
||||
uint8_t get_signature[32];
|
||||
memset( get_signature, 0, sizeof(get_signature) );
|
||||
|
||||
// not ul_c and not std ul then attempt to get deeper info
|
||||
// not ul_c and not std ul then attempt to collect info like
|
||||
// VERSION, SIGNATURE, COUNTERS, TEARING, PACK,
|
||||
if (!(tagtype & UL_C || tagtype & UL)) {
|
||||
//attempt to read pack
|
||||
if (!ul_auth_select( &card, tagtype, true, authKeyPtr, get_pack, sizeof(get_pack))) {
|
||||
|
||||
Reference in New Issue
Block a user