chg: #define rename

This commit is contained in:
iceman1001 2018-03-16 08:58:07 +01:00
commit 0eca7e3977
2 changed files with 4 additions and 3 deletions

View file

@ -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.

View file

@ -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))) {