fix nested loop with cards that do not NACK

This commit is contained in:
LW 2019-12-14 01:41:16 -08:00
commit 9b6d1f74da
3 changed files with 13 additions and 2 deletions

View file

@ -679,7 +679,7 @@ int CmdSriWrite(const char *Cmd) {
uint8_t blockno = -1;
uint8_t data[4] = {0x00};
bool isSrix4k = true;
char str[20];
char str[22];
if (strlen(Cmd) < 1 || cmdp == 'h' || cmdp == 'H') {
PrintAndLog("Usage: hf 14b write <1|2> <BLOCK> <DATA>");