mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
cppcheck
This commit is contained in:
parent
e50c2f00cc
commit
866df86825
1 changed files with 4 additions and 3 deletions
|
@ -643,6 +643,7 @@ static int NxpSysInfo(uint8_t *uid) {
|
||||||
uint8_t *recv;
|
uint8_t *recv;
|
||||||
uint8_t req[PM3_CMD_DATA_SIZE] = {0};
|
uint8_t req[PM3_CMD_DATA_SIZE] = {0};
|
||||||
uint16_t reqlen;
|
uint16_t reqlen;
|
||||||
|
uint32_t status;
|
||||||
uint8_t arg1 = 1;
|
uint8_t arg1 = 1;
|
||||||
|
|
||||||
if (uid != NULL) {
|
if (uid != NULL) {
|
||||||
|
@ -669,7 +670,7 @@ static int NxpSysInfo(uint8_t *uid) {
|
||||||
|
|
||||||
DropField();
|
DropField();
|
||||||
|
|
||||||
uint32_t status = resp.oldarg[0];
|
status = resp.oldarg[0];
|
||||||
|
|
||||||
if (status < 2) {
|
if (status < 2) {
|
||||||
PrintAndLogEx(WARNING, "iso15693 card doesn't answer to NXP systeminfo command");
|
PrintAndLogEx(WARNING, "iso15693 card doesn't answer to NXP systeminfo command");
|
||||||
|
@ -736,7 +737,7 @@ static int NxpSysInfo(uint8_t *uid) {
|
||||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2000)) {
|
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2000)) {
|
||||||
PrintAndLogEx(WARNING, "iso15693 card select failed");
|
PrintAndLogEx(WARNING, "iso15693 card select failed");
|
||||||
} else {
|
} else {
|
||||||
uint32_t status = resp.oldarg[0];
|
status = resp.oldarg[0];
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
|
|
||||||
|
@ -778,7 +779,7 @@ static int NxpSysInfo(uint8_t *uid) {
|
||||||
|
|
||||||
DropField();
|
DropField();
|
||||||
|
|
||||||
uint32_t status = resp.oldarg[0];
|
status = resp.oldarg[0];
|
||||||
|
|
||||||
if (status < 2) {
|
if (status < 2) {
|
||||||
PrintAndLogEx(WARNING, "iso15693 card doesn't answer to READ SIGNATURE command");
|
PrintAndLogEx(WARNING, "iso15693 card doesn't answer to READ SIGNATURE command");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue