mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-06 21:21:17 -07:00
fix a comment and remove unrelated 14b fix
This commit is contained in:
parent
141283ef1f
commit
fd32c73b4a
2 changed files with 2 additions and 2 deletions
|
@ -679,7 +679,7 @@ int CmdSriWrite(const char *Cmd) {
|
||||||
uint8_t blockno = -1;
|
uint8_t blockno = -1;
|
||||||
uint8_t data[4] = {0x00};
|
uint8_t data[4] = {0x00};
|
||||||
bool isSrix4k = true;
|
bool isSrix4k = true;
|
||||||
char str[22];
|
char str[20];
|
||||||
|
|
||||||
if (strlen(Cmd) < 1 || cmdp == 'h' || cmdp == 'H') {
|
if (strlen(Cmd) < 1 || cmdp == 'h' || cmdp == 'H') {
|
||||||
PrintAndLog("Usage: hf 14b write <1|2> <BLOCK> <DATA>");
|
PrintAndLog("Usage: hf 14b write <1|2> <BLOCK> <DATA>");
|
||||||
|
|
|
@ -336,7 +336,7 @@ int mfnested(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBlockNo,
|
||||||
SendCommand(&c);
|
SendCommand(&c);
|
||||||
|
|
||||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2500)) {
|
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2500)) {
|
||||||
// cards that do not NACK bad keys cause it to get stuck in a loop, so break out of it
|
// some cards can cause it to get stuck in a loop, so break out of it
|
||||||
UsbCommand c = {CMD_PING};
|
UsbCommand c = {CMD_PING};
|
||||||
SendCommand(&c);
|
SendCommand(&c);
|
||||||
(void)WaitForResponseTimeout(CMD_ACK,NULL,500);
|
(void)WaitForResponseTimeout(CMD_ACK,NULL,500);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue