Skip to content

Commit

Permalink
Replace some definitions
Browse files Browse the repository at this point in the history
GTU -> UMC

Signed-off-by: team-orangeBlue <[email protected]>
  • Loading branch information
team-orangeBlue authored Nov 14, 2023
1 parent 6da950e commit ae08eee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/mifare/gen4.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ int mfG4GetBlock(uint8_t *pwd, uint8_t blockno, uint8_t *data, uint8_t workFlags
payload.workFlags = workFlags;

clearCommandBuffer();
SendCommandNG(CMD_HF_MIFARE_G4_RDBL, (uint8_t *)&payload, sizeof(payload));
SendCommandNG(CMD_HF_MIFARE_UMC_RDBL, (uint8_t *)&payload, sizeof(payload));
PacketResponseNG resp;
if (WaitForResponseTimeout(CMD_HF_MIFARE_G4_RDBL, &resp, 1500)) {
if (WaitForResponseTimeout(CMD_HF_MIFARE_UMC_RDBL, &resp, 1500)) {
if (resp.status != PM3_SUCCESS) {
return PM3_EUNDEF;
}
Expand All @@ -198,9 +198,9 @@ int mfG4SetBlock(uint8_t *pwd, uint8_t blockno, uint8_t *data, uint8_t workFlags
payload.workFlags = workFlags;

clearCommandBuffer();
SendCommandNG(CMD_HF_MIFARE_G4_WRBL, (uint8_t *)&payload, sizeof(payload));
SendCommandNG(CMD_HF_MIFARE_UMC_WRBL, (uint8_t *)&payload, sizeof(payload));
PacketResponseNG resp;
if (WaitForResponseTimeout(CMD_HF_MIFARE_G4_WRBL, &resp, 1500)) {
if (WaitForResponseTimeout(CMD_HF_MIFARE_UMC_WRBL, &resp, 1500)) {
if (resp.status != PM3_SUCCESS) {
return PM3_EUNDEF;
}
Expand Down

0 comments on commit ae08eee

Please sign in to comment.